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/include/access/transam.h | |
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/include/access/transam.h')
-rw-r--r-- | src/include/access/transam.h | 6 |
1 files changed, 1 insertions, 5 deletions
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); |