postgresql/src/backend/tcop
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
..
dest.c pgindent run for 9.0 2010-02-26 02:01:40 +00:00
fastpath.c Wrap calls to SearchSysCache and related functions using macros. 2010-02-14 18:42:19 +00:00
Makefile Refactor backend makefiles to remove lots of duplicate code 2008-02-19 10:30:09 +00:00
postgres.c Move the responsibility for calling StartupXLOG into InitPostgres, for 2010-04-20 01:38:52 +00:00
pquery.c pgindent run for 9.0 2010-02-26 02:01:40 +00:00
utility.c pgindent run for 9.0 2010-02-26 02:01:40 +00:00