]> granicus.if.org Git - postgresql/commit
Force the TZ environment variable to be set during initdb. This is to
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 18 Dec 2009 18:45:50 +0000 (18:45 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 18 Dec 2009 18:45:50 +0000 (18:45 +0000)
commitbe3a24de196ba81d30e134829412476e200cb228
treea86fb508caf8b11de27fefb9df4ed8d9c6249074
parentf5fd651e1b96db6fa89ae540214e180ecf36a547
Force the TZ environment variable to be set during initdb.  This is to
short-circuit the rather expensive identify_system_timezone() procedure,
which we have no real need for during initdb since nothing done here depends
on the timezone setting.  Since we launch quite a few standalone backends
during the initdb sequence, this adds up to a significant savings, and seems
worth doing to save developer time even though it will hardly matter to end
users.  Per my report today on pgsql-hackers.
src/bin/initdb/initdb.c