From 4aefe75553e6ec82b7308f961edd480d8001ec12 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 20 Feb 2005 21:46:50 +0000 Subject: 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. --- src/backend/utils/init/postinit.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/backend/utils/init/postinit.c') 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 $ * * *------------------------------------------------------------------------- @@ -328,11 +328,6 @@ InitPostgres(const char *dbname, const char *username) if (MyBackendId > MaxBackends || MyBackendId <= 0) 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. -- cgit v1.2.3