mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
From: t-ishii@sra.co.jp
As Bruce mentioned, this is due to the conflict among changes we made. Included patches should fix the problem(I changed all MB to MULTIBYTE). Please let me know if you have further problem. P.S. I did not include pathces to configure and gram.c to save the file size(configure.in and gram.y modified).
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: dbcommands.h,v 1.3 1998/07/24 03:32:19 scrappy Exp $
|
||||
* $Id: dbcommands.h,v 1.4 1998/07/26 04:31:23 scrappy Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -19,7 +19,7 @@
|
||||
*/
|
||||
#define SIGKILLDAEMON1 SIGTERM
|
||||
|
||||
#ifdef MB
|
||||
#ifdef MULTIBYTE
|
||||
extern void createdb(char *dbname, char *dbpath, int encoding);
|
||||
#else
|
||||
extern void createdb(char *dbname, char *dbpath);
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Headers for handling of 'SET var TO', 'SHOW var' and 'RESET var'
|
||||
* statements
|
||||
*
|
||||
* $Id: variable.h,v 1.4 1998/07/18 18:34:21 momjian Exp $
|
||||
* $Id: variable.h,v 1.5 1998/07/26 04:31:24 scrappy Exp $
|
||||
*
|
||||
*/
|
||||
#ifndef VARIABLE_H
|
||||
@@ -54,17 +54,5 @@ extern bool set_geqo(void);
|
||||
extern bool show_geqo(void);
|
||||
extern bool reset_geqo(void);
|
||||
extern bool parse_geqo(const char *);
|
||||
#ifdef MULTIBYTE
|
||||
extern bool show_client_encoding(void);
|
||||
extern bool reset_client_encoding(void);
|
||||
extern bool parse_client_encoding(const char *);
|
||||
extern int pg_set_client_encoding(int);
|
||||
extern int pg_get_client_encoding(void);
|
||||
extern unsigned char *pg_client_to_server(unsigned char *, int);
|
||||
extern unsigned char *pg_server_to_client(unsigned char *, int);
|
||||
extern int pg_valid_client_encoding(const char *);
|
||||
extern const char *pg_encoding_to_char(int);
|
||||
extern int pg_char_to_encoding(const char *);
|
||||
#endif
|
||||
|
||||
#endif /* VARIABLE_H */
|
||||
|
||||
Reference in New Issue
Block a user