Remove some no-longer-needed kluges for bootstrapping, in particular
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/heap/heapam.c | modified | +1 −5 |
| src/backend/access/transam/transam.c | modified | +1 −37 |
| src/backend/access/transam/varsup.c | modified | +2 −2 |
| src/backend/access/transam/xact.c | modified | +11 −10 |
| src/backend/utils/init/postinit.c | modified | +1 −6 |
| src/include/access/transam.h | modified | +1 −5 |