]> granicus.if.org Git - postgresql/commit
Arrange to call localtime() during postmaster startup. On most Unixen,
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 19 Feb 2002 19:53:35 +0000 (19:53 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 19 Feb 2002 19:53:35 +0000 (19:53 +0000)
commit6e546c286c928825fe57e789b3bdd3903310c5b3
tree62c966719d795b9f44029cb49af1e80b15e7d214
parent9103372f52ab9042a934aa857ee83a24784be3ce
Arrange to call localtime() during postmaster startup.  On most Unixen,
the first call of localtime() in a process will read /usr/lib/tztab or
local equivalent.  Better to do this once in the postmaster and inherit
the data by fork() than to have to do it during every backend start.
src/backend/postmaster/postmaster.c