diff options
author | Tom Lane | 2005-02-26 18:43:34 +0000 |
---|---|---|
committer | Tom Lane | 2005-02-26 18:43:34 +0000 |
commit | 0fc4ecf93543a0e293845bdc47712285a9165aa0 (patch) | |
tree | c79e93a9d4e0a23120a1968091e69892fd1bc3ed /src/include/miscadmin.h | |
parent | ffef9a9de4f7d992ebfbf88e5e926bc5e022f420 (diff) |
Finish up the flat-files project: get rid of GetRawDatabaseInfo() hack
in favor of looking at the flat file copy of pg_database during backend
startup. This should finally eliminate the various corner cases in which
backend startup fails unexpectedly because it isn't able to distinguish
live and dead tuples in pg_database. Simplify locking on pg_database
to be similar to the rules used with pg_shadow and pg_group, and eliminate
FlushRelationBuffers operations that were used only to reduce the odds
of failure of GetRawDatabaseInfo.
initdb forced due to addition of a trigger to pg_database.
Diffstat (limited to 'src/include/miscadmin.h')
-rw-r--r-- | src/include/miscadmin.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h index e5333977c09..3e9b7d912a4 100644 --- a/src/include/miscadmin.h +++ b/src/include/miscadmin.h @@ -13,7 +13,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.174 2004/12/31 22:03:19 pgsql Exp $ + * $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.175 2005/02/26 18:43:34 tgl Exp $ * * NOTES * some of the information in this file should be moved to other files. @@ -225,9 +225,6 @@ extern void check_stack_depth(void); extern char *DatabasePath; -/* in utils/misc/database.c */ -extern void GetRawDatabaseInfo(const char *name, Oid *db_id, Oid *db_tablespace); - /* now in utils/init/miscinit.c */ extern void SetDatabasePath(const char *path); |