summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTom Lane1999-04-25 21:50:58 +0000
committerTom Lane1999-04-25 21:50:58 +0000
commit122923c97febe794796ede5c9a35d6c317bcde30 (patch)
treea7b586966c51d78bea013d416472ff7d18011d33 /src/include
parent0d99c95388a7edc4ddb8897776e80de00944ded0 (diff)
Still had a few MULTIBYTE problems when client encoding was
different from database's ...
Diffstat (limited to 'src/include')
-rw-r--r--src/include/libpq/pqformat.h4
1 files changed, 3 insertions, 1 deletions
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);