]> granicus.if.org Git - postgresql/commit
Postpone pg_timezone_initialize() until after creation of postmaster.pid,
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 20 Oct 2005 20:06:03 +0000 (20:06 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 20 Oct 2005 20:06:03 +0000 (20:06 +0000)
commitea19eb999d7121aba8eefce98051c7cafa376d6d
treebb9774bfd430568c956def437874c12461ce222b
parent09290098c5a44f5b98f328740dddaac726f68dcc
Postpone pg_timezone_initialize() until after creation of postmaster.pid,
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