*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/libpq/pqcomm.c,v 1.48 1998/07/09 03:28:46 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/backend/libpq/pqcomm.c,v 1.50 1998/07/26 04:30:28 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#include "libpq/auth.h"
#include "libpq/libpq.h" /* where the declarations go */
#include "storage/ipc.h"
-#ifdef MB
-#include "commands/variable.h"
+#ifdef MULTIBYTE
+#include "mb/pg_wchar.h"
#endif
/* ----------------
{
int c = '\0';
-#ifdef MB
+#ifdef MULTIBYTE
unsigned char *p, *ps;
int len;
*s++ = c;
*s = '\0';
-#ifdef MB
+#ifdef MULTIBYTE
p = pg_client_to_server(ps, len);
if (ps != p) { /* actual conversion has been done? */
strcpy(ps, p);
void
pq_putstr(char *s)
{
-#ifdef MB
+#ifdef MULTIBYTE
unsigned char *p;
p = pg_server_to_client(s, strlen(s));
return (STATUS_OK);
}
-#ifdef MB
+#ifdef MULTIBYTE
void
pq_putncharlen(char *s, int n)
{