pgsql-server: Still another try at matching system timezone nicely. - Mailing list pgsql-committers

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql-server: Still another try at matching system timezone nicely.
Date
Msg-id 20040731191217.000EBD1B2BD@svr1.postgresql.org
Whole thread Raw
Responses Re: pgsql-server: Still another try at matching system  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-committers
Log Message:
-----------
Still another try at matching system timezone nicely.  On non-Windows
machines, break tie scores by preferring shorter zone names over longer;
for names of equal length, prefer the alphabetically first name.  This
yields for example 'EST5EDT' not 'America/New_York' for US eastern time.
On Windows, abandon the whole concept of inspecting the detailed behavior
of the system TZ library, because it doesn't bear inspection :-(.  Instead
use a hardwired mapping table to select our zone name based on the
result of strftime %Z output.  Windows code from Magnus Hagander.

Modified Files:
--------------
    pgsql-server/src/timezone:
        pgtz.c (r1.20 -> r1.21)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/timezone/pgtz.c.diff?r1=1.20&r2=1.21)

pgsql-committers by date:

Previous
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql-server: For EXEC_BACKEND case, BootstrapMain needs to recompute
Next
From: momjian@svr1.postgresql.org (Bruce Momjian)
Date:
Subject: pgsql-server: Escape backslashes from translation message rather than