Postpone pg_timezone_initialize() until after creation of postmaster.pid,
authorTom Lane <[email protected]>
Thu, 20 Oct 2005 20:06:03 +0000 (20:06 +0000)
committerTom Lane <[email protected]>
Thu, 20 Oct 2005 20:06:03 +0000 (20:06 +0000)
commit4e04ccb35b4bd339e6dd08192ef78f79df78fb62
treedee6c4632efd7fab644e18c7bb7acfdb76d75fad
parentfec54c027fcfa51450128b7b660ee639af532793
Postpone pg_timezone_initialize() until after creation of postpid,
since it can take a fair amount of time and this can confuse boot scripts
that expect postmaster.pid to appear quickly.  Move initialization of SSL
library and preloaded libraries to after that point, too, just for luck.
Per reports from Tony Caduto and others.
src/backend/bootstrap/bootstrap.c
src/backend/postmaster/postmaster.c
src/backend/tcop/postgres.c
src/backend/utils/misc/guc.c