pgsql-server: Check more test points (in fact, every week in 1970..2004)

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server: Check more test points (in fact, every week in 1970..2004)
Date: 2004-07-10 23:06:50
Message-ID: 20040710230650.E81C2D1B1F8@svr1.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Check more test points (in fact, every week in 1970..2004) to get a more
accurate matching of our time zone to the system's zone. This method is
able to distinguish Antarctica/Casey from Australia/Perth, as in Chris
K-L's recent example; and it is not materially slower than before, because
the extra checks generally don't get done against very many time zones.

It seems possible that with this test we'd be able to correctly identify
Windows timezones without looking at the timezone name, but I do not
have the ability to try it.

Modified Files:
--------------
pgsql-server/src/timezone:
pgtz.c (r1.17 -> r1.18)
(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/timezone/pgtz.c.diff?r1=1.17&r2=1.18)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2004-07-10 23:29:16 pgsql-server: Defend against overrun of ExtraOptions array --- strictly
Previous Message Tom Lane 2004-07-10 22:58:42 pgsql-server: Fix BSD-only coding in port.c (passing a local variable to