From cb7cbc16fa4b5933fb5d63052568e3ed6859857b Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 16 Jun 1998 07:29:54 +0000 Subject: 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 --- src/include/libpq/libpq.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/include/libpq') 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); -- cgit v1.2.1