pgsql: Force the TZ environment variable to be set during initdb. - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Force the TZ environment variable to be set during initdb.
Date
Msg-id 20091218184550.B238B753FB7@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/bin/initdb:
        initdb.c (r1.178 -> r1.179)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/initdb/initdb.c?r1=1.178&r2=1.179)

pgsql-committers by date:

Previous
From: bmomjian@pgfoundry.org (User Bmomjian)
Date:
Subject: pg-migrator - pg_migrator: Remove STRINGIFY; not needed.
Next
From: momjian@postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Install server-side language PL/pgSQL by default.