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)
commitc676060bce7cce2c8b19f31465177d71fcfae019
tree5e4b49f6a215b1339c8d4bc25fbe6f85eb887a1d
parent5bdf8874b64fe6cfab124f6d8429cd004f1404e4
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