diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-02-20 21:46:50 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-02-20 21:46:50 +0000 |
commit | 4aefe75553e6ec82b7308f961edd480d8001ec12 (patch) | |
tree | 77b6e32cbea54883f2d8ce3bfd189685c54d784c /src/backend/utils/init/postinit.c | |
parent | 57e3b0c9db0778ef136b66917b82a57d61265b9d (diff) | |
download | postgresql-4aefe75553e6ec82b7308f961edd480d8001ec12.tar.gz postgresql-4aefe75553e6ec82b7308f961edd480d8001ec12.zip |
Remove some no-longer-needed kluges for bootstrapping, in particular
the AMI_OVERRIDE flag. The fact that TransactionLogFetch treats
BootstrapTransactionId as always committed is sufficient to make
bootstrap work, and getting rid of extra tests in heavily used code
paths seems like a win. The files produced by initdb are demonstrably
the same after this change.
Diffstat (limited to 'src/backend/utils/init/postinit.c')
-rw-r--r-- | src/backend/utils/init/postinit.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/backend/utils/init/postinit.c b/src/backend/utils/init/postinit.c index 453bd937991..53eb47a97ec 100644 --- a/src/backend/utils/init/postinit.c +++ b/src/backend/utils/init/postinit.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/utils/init/postinit.c,v 1.139 2004/12/31 22:01:40 pgsql Exp $ + * $PostgreSQL: pgsql/src/backend/utils/init/postinit.c,v 1.140 2005/02/20 21:46:49 tgl Exp $ * * *------------------------------------------------------------------------- @@ -329,11 +329,6 @@ InitPostgres(const char *dbname, const char *username) elog(FATAL, "bad backend id: %d", MyBackendId); /* - * Initialize the transaction system override state. - */ - AmiTransactionOverride(bootstrap); - - /* * Initialize local process's access to XLOG. In bootstrap case we * may skip this since StartupXLOG() was run instead. */ |