postgresql/src/backend/bootstrap
Tom Lane c670410e7f Move the responsibility for calling StartupXLOG into InitPostgres, for
those process types that go through InitPostgres; in particular, bootstrap
and standalone-backend cases.  This ensures that we have set up a PGPROC
and done some other basic initialization steps (corresponding to the
if (IsUnderPostmaster) block in AuxiliaryProcessMain) before we attempt to
run WAL recovery in a standalone backend.  As was discovered last September,
this is necessary for some corner-case code paths during WAL recovery,
particularly end-of-WAL cleanup.

Moving the bootstrap case here too is not necessary for correctness, but it
seems like a good idea since it reduces the number of distinct code paths.
2010-04-20 01:38:52 +00:00
..
.cvsignore Remove all traces that suggest that a non-Bison yacc might be supported, and 2008-08-29 13:02:33 +00:00
Makefile Fix a few places where we needed -I. in CPPFLAGS to work properly in 2010-01-05 03:56:52 +00:00
bootparse.y Create a "relation mapping" infrastructure to support changing the relfilenodes 2010-02-07 20:48:13 +00:00
bootscanner.l Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
bootstrap.c Move the responsibility for calling StartupXLOG into InitPostgres, for 2010-04-20 01:38:52 +00:00