summaryrefslogtreecommitdiff
path: root/src/include/libpq
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1998-06-16 07:29:54 +0000
committerBruce Momjian <bruce@momjian.us>1998-06-16 07:29:54 +0000
commitcb7cbc16fa4b5933fb5d63052568e3ed6859857b (patch)
treebed17594c4880549288373de4d400512cbe2f82d /src/include/libpq
parent0d8e7f6381291b85ad6264365e01143357d70a75 (diff)
downloadpostgresql-cb7cbc16fa4b5933fb5d63052568e3ed6859857b.tar.gz
Hi, here are the patches to enhance existing MB handling. This time
I have implemented a framework of encoding translation between the backend and the frontend. Also I have added a new variable setting command: SET CLIENT_ENCODING TO 'encoding'; Other features include: Latin1 support more 8 bit cleaness See doc/README.mb for more details. Note that the pacthes are against May 30 snapshot. Tatsuo Ishii
Diffstat (limited to 'src/include/libpq')
-rw-r--r--src/include/libpq/libpq.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/libpq/libpq.h b/src/include/libpq/libpq.h
index 61c8c9910d..9a347989c4 100644
--- a/src/include/libpq/libpq.h
+++ b/src/include/libpq/libpq.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: libpq.h,v 1.15 1998/05/29 17:00:24 momjian Exp $
+ * $Id: libpq.h,v 1.16 1998/06/16 07:29:41 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -272,6 +272,11 @@ extern int pq_sendoob(char *msg, int len);
extern int pq_recvoob(char *msgPtr, int len);
extern int pq_getinaddr(struct sockaddr_in * sin, char *host, int port);
extern int pq_getinserv(struct sockaddr_in * sin, char *host, char *serv);
+
+#ifdef MB
+extern void pq_putncharlen(char *s, int n);
+#endif
+
extern int
pq_connect(char *dbname, char *user, char *args, char *hostName,
char *debugTty, char *execFile, short portName);