diff options
Diffstat (limited to 'src/backend/bootstrap/bootstrap.c')
-rw-r--r-- | src/backend/bootstrap/bootstrap.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/backend/bootstrap/bootstrap.c b/src/backend/bootstrap/bootstrap.c index 3aca65e845c..315c17e526a 100644 --- a/src/backend/bootstrap/bootstrap.c +++ b/src/backend/bootstrap/bootstrap.c @@ -8,7 +8,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/bootstrap/bootstrap.c,v 1.179 2004/05/21 05:07:56 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/bootstrap/bootstrap.c,v 1.180 2004/05/27 17:12:49 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -489,12 +489,12 @@ BootstrapMain(int argc, char *argv[]) break; case BS_XLOG_CHECKPOINT: + InitXLOGAccess(); CreateCheckPoint(false, false); - SetSavedRedoRecPtr(); /* pass redo ptr back to - * postmaster */ proc_exit(0); /* done */ case BS_XLOG_BGWRITER: + InitXLOGAccess(); BufferBackgroundWriter(); proc_exit(0); /* done */ @@ -504,6 +504,7 @@ BootstrapMain(int argc, char *argv[]) proc_exit(0); /* done */ case BS_XLOG_SHUTDOWN: + InitXLOGAccess(); ShutdownXLOG(0, 0); DumpFreeSpaceMap(0, 0); proc_exit(0); /* done */ |