postgresql/src/timezone
Tom Lane 14586d319e Fix identify_system_timezone() so that it tests the behavior of the system
timezone setting in the current year and for 100 years back, rather than
always examining years 1904-2004.  The original coding would have problems
distinguishing zones whose behavior diverged only after 2004; which is a
situation we will surely face sometime, if it's not out there already.

In passing, also prevent selection of the dummy "Factory" timezone, even
if that's exactly what the system is using.  Reporting time as GMT seems
better than that.
2008-07-01 03:41:01 +00:00
..
data Update time zone data files to tzdata release 2008c (DST law changes in 2008-06-01 18:23:07 +00:00
tznames Venezuela Time now means UTC-4:30, not UTC-4:00. Adjust our treatment 2008-03-02 00:10:28 +00:00
ialloc.c Avoid including any backend-only stuff in the zic utility program. 2007-10-26 13:30:10 +00:00
localtime.c pgindent run for 8.3. 2007-11-15 21:14:46 +00:00
Makefile Adjust with-system-tzdata patch to not attempt to install a symlink, 2007-08-25 20:29:25 +00:00
pgtz.c Fix identify_system_timezone() so that it tests the behavior of the system 2008-07-01 03:41:01 +00:00
pgtz.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
private.h Properly undef _(x) gettext macro. 2005-02-23 04:34:21 +00:00
README Remove hard-wired lists of timezone abbreviations in favor of providing 2006-07-25 03:51:23 +00:00
scheck.c Avoid including any backend-only stuff in the zic utility program. 2007-10-26 13:30:10 +00:00
strftime.c Remove 576 references of include files that were not needed. 2006-07-14 14:52:27 +00:00
tzfile.h Standard pgindent run for 8.1. 2005-10-15 02:49:52 +00:00
zic.c Avoid including any backend-only stuff in the zic utility program. 2007-10-26 13:30:10 +00:00

This is a PostgreSQL adapted version of the timezone library
from:

	ftp://elsie.nci.nih.gov/pub/tzcode*.tar.gz

The data files under data/ are an exact copy of the latest data set
from

	ftp://elsie.nci.nih.gov/pub/tzdata*.tar.gz

Since time zone rules change frequently in some parts of the world,
we should endeavor to update the data files before each PostgreSQL
release.

At each update, we should check if time zone offsets have changed.
Just search for the current or previous year and see what has changed.
Sometimes a country changes its time zone offsets, for example Georgia
in 2004.  Just grepping in the zic database files for 2004 is enough to
spot such a change.  Then the files under tznames/ should be updated.