Finish up the flat-files project: get rid of GetRawDatabaseInfo() hack

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 0fc4ecf93543a0e293845bdc47712285a9165aa0
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-02-26T18:43:34Z
Releases: 8.1.0
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.

Files