mirror of
https://github.com/postgres/postgres.git
synced 2025-06-13 07:41:39 +03:00
o note that now pg_database has a new attribuite "encoding" even
if MULTIBYTE is not enabled. So be sure to run initdb. o these patches are made against the latest source tree (after Bruce's massive patch, I think) BTW, I noticed that after running regression, the oid field of pg_type seems disappeared. regression=> select oid from pg_type; ERROR: attribute 'oid' not found this happens after the constraints test. This occures with/without my patches. strange... o pg_database_mb.h, pg_class_mb.h, pg_attribute_mb.h are no longer used, and shoud be removed. o GetDatabaseInfo() in utils/misc/database.c removed (actually in #ifdef 0). seems nobody uses. t-ishii@sra.co.jp
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: miscadmin.h,v 1.30 1998/08/11 18:28:33 momjian Exp $
|
||||
* $Id: miscadmin.h,v 1.31 1998/08/24 01:14:07 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* some of the information in this file will be moved to
|
||||
@ -116,11 +116,7 @@ extern char *DatabaseName;
|
||||
extern char *DatabasePath;
|
||||
|
||||
/* in utils/misc/database.c */
|
||||
#ifdef MULTIBYTE
|
||||
extern void GetRawDatabaseInfo(char *name, int4 *owner, Oid *db_id, char *path, int *encoding);
|
||||
#else
|
||||
extern void GetRawDatabaseInfo(char *name, int4 *owner, Oid *db_id, char *path);
|
||||
#endif
|
||||
extern int GetDatabaseInfo(char *name, int4 *owner, char *path);
|
||||
extern char *ExpandDatabasePath(char *path);
|
||||
|
||||
|
Reference in New Issue
Block a user