From 122923c97febe794796ede5c9a35d6c317bcde30 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 25 Apr 1999 21:50:58 +0000 Subject: Still had a few MULTIBYTE problems when client encoding was different from database's ... --- src/include/libpq/pqformat.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/libpq/pqformat.h b/src/include/libpq/pqformat.h index 6404583a103..b546c36c5e7 100644 --- a/src/include/libpq/pqformat.h +++ b/src/include/libpq/pqformat.h @@ -5,7 +5,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: pqformat.h,v 1.2 1999/04/25 19:27:47 tgl Exp $ + * $Id: pqformat.h,v 1.3 1999/04/25 21:50:58 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -24,6 +24,8 @@ extern void pq_sendstring(StringInfo buf, const char *str); extern void pq_sendint(StringInfo buf, int i, int b); extern void pq_endmessage(StringInfo buf); +extern int pq_puttextmessage(char msgtype, const char *str); + extern int pq_getint(int *result, int b); extern int pq_getstr(char *s, int maxlen); -- cgit v1.2.3