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/include/access/transam.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/include/access/transam.h') diff --git a/src/include/access/transam.h b/src/include/access/transam.h index e623c5d0006..c169d8f3219 100644 --- a/src/include/access/transam.h +++ b/src/include/access/transam.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/access/transam.h,v 1.52 2005/02/20 02:22:03 tgl Exp $ + * $PostgreSQL: pgsql/src/include/access/transam.h,v 1.53 2005/02/20 21:46:50 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -100,9 +100,6 @@ typedef VariableCacheData *VariableCache; * ---------------- */ -/* in transam/transam.c */ -extern bool AMI_OVERRIDE; - /* in transam/varsup.c */ extern VariableCache ShmemVariableCache; @@ -110,7 +107,6 @@ extern VariableCache ShmemVariableCache; /* * prototypes for functions in transam/transam.c */ -extern void AmiTransactionOverride(bool flag); extern bool TransactionIdDidCommit(TransactionId transactionId); extern bool TransactionIdDidAbort(TransactionId transactionId); extern void TransactionIdCommit(TransactionId transactionId); -- cgit v1.2.3