postgresql/src/timezone
Tom Lane 921d749bd4 Adjust our timezone library to use pg_time_t (typedef'd as int64) in
place of time_t, as per prior discussion.  The behavior does not change
on machines without a 64-bit-int type, but on machines with one, which
is most, we are rid of the bizarre boundary behavior at the edges of
the 32-bit-time_t range (1901 and 2038).  The system will now treat
times over the full supported timestamp range as being in your local
time zone.  It may seem a little bizarre to consider that times in
4000 BC are PST or EST, but this is surely at least as reasonable as
propagating Gregorian calendar rules back that far.

I did not modify the format of the zic timezone database files, which
means that for the moment the system will not know about daylight-savings
periods outside the range 1901-2038.  Given the way the files are set up,
it's not a simple decision like 'widen to 64 bits'; we have to actually
think about the range of years that need to be supported.  We should
probably inquire what the plans of the upstream zic people are before
making any decisions of our own.
2004-06-03 02:08:07 +00:00
..
data Add Olson's public domain timezone library to src/timezone. 2004-04-30 04:09:23 +00:00
Makefile Seems we forgot the installdirs target in this makefile. 2004-05-28 03:53:33 +00:00
README Integrate src/timezone library for all platforms. There is more we can 2004-05-21 05:08:06 +00:00
ialloc.c pgindent did a pretty awful job on the timezone code, particularly with 2004-05-21 20:59:10 +00:00
localtime.c Adjust our timezone library to use pg_time_t (typedef'd as int64) in 2004-06-03 02:08:07 +00:00
pgtz.c Adjust our timezone library to use pg_time_t (typedef'd as int64) in 2004-06-03 02:08:07 +00:00
pgtz.h Pgindent timezone file, per request from Tom. 2004-05-21 12:30:25 +00:00
private.h pgindent did a pretty awful job on the timezone code, particularly with 2004-05-21 20:59:10 +00:00
scheck.c pgindent did a pretty awful job on the timezone code, particularly with 2004-05-21 20:59:10 +00:00
strftime.c Adjust our timezone library to use pg_time_t (typedef'd as int64) in 2004-06-03 02:08:07 +00:00
tzfile.h pgindent did a pretty awful job on the timezone code, particularly with 2004-05-21 20:59:10 +00:00
zic.c Adjust our timezone library to use pg_time_t (typedef'd as int64) in 2004-06-03 02:08:07 +00:00

README

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

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