]> 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:05:45 +0000 (20:05 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 20 Oct 2005 20:05:45 +0000 (20:05 +0000)
commit78ce809216face4867cccb1ce207c9e35440c1e5
treefe7e5b3b5c9b959e327b5f506ad2d9ca52d7f9c1
parentc9de6b922e4f8c2647c64a67e86d4a95e3fca2cc
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