*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/varchar.c,v 1.52 1999/07/16 05:00:28 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/varchar.c,v 1.53 1999/07/17 16:25:25 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include "catalog/pg_type.h"
#include "utils/builtins.h"
+#ifdef MULTIBYTE
+#include "mb/pg_wchar.h"
+#endif
+
#ifdef CYR_RECODE
char *convertstr(char *, int, int);
#endif
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.46 1999/07/16 17:46:32 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.47 1999/07/17 16:25:25 momjian Exp $
*
* NOTES
* InitPostgres() is the function called from PostgresMain
#include "utils/syscache.h"
#include "version.h"
+#ifdef MULTIBYTE
+#include "mb/pg_wchar.h"
+#endif
+
static void VerifySystemDatabase(void);
static void VerifyMyDatabase(void);
static void InitCommunication(void);
* client encoding and server internal encoding.
* (currently mule internal code (mic) is used)
* Tatsuo Ishii
- * $Id: mbutils.c,v 1.6 1999/05/25 16:12:43 momjian Exp $ */
+ * $Id: mbutils.c,v 1.7 1999/07/17 16:25:26 momjian Exp $ */
#include <stdio.h>
#include <string.h>
+#include "postgres.h"
+#include "miscadmin.h"
#include "mb/pg_wchar.h"
static int client_encoding = -1;
* This file contains some public functions
* related to show/set/reset variable commands.
* Tatsuo Ishii
- * $Id: variable.c,v 1.4 1999/05/25 16:12:44 momjian Exp $
+ * $Id: variable.c,v 1.5 1999/07/17 16:25:27 momjian Exp $
*/
+#include "postgres.h"
#include "mb/pg_wchar.h"
bool
-/* $Id: pg_wchar.h,v 1.10 1999/07/14 01:20:20 momjian Exp $ */
+/* $Id: pg_wchar.h,v 1.11 1999/07/17 16:25:28 momjian Exp $ */
#ifndef PG_WCHAR_H
#define PG_WCHAR_H
#include <sys/types.h>
+#include "c.h"
#define SQL_ASCII 0 /* SQL/ASCII */
#define EUC_JP 1 /* EUC for Japanese */