]> granicus.if.org Git - postgresql/commit
Check more test points (in fact, every week in 1970..2004) to get a more
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 10 Jul 2004 23:06:50 +0000 (23:06 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 10 Jul 2004 23:06:50 +0000 (23:06 +0000)
commit99b225c528a3f082f60fd5974e1b44ee0462a6fd
treec758fb6f89a36abb9c5af885a15bd8f16f834bb8
parentb9f698eccb0cf75dc949913b2946a81053f27d88
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.
src/timezone/pgtz.c