postgresql/src/timezone
Tom Lane 312d51798f Suppress leap-second-aware timezones in the output of pg_tzenumerate_next,
and thereby in the pg_timezone_names view.  Although we allow such zones
to be used in certain limited contexts like AT TIME ZONE, we don't allow
them in SET TIME ZONE, and bug #4528 shows that they're more likely to
confuse users than do anything useful.  So hide 'em.  (Note that we don't
even generate these zones when installing our own timezone database.
But they are likely to be present when using a system-provided database.)
2008-11-13 20:49:38 +00:00
..
data Update time zone data files to tzdata release 2008i (DST law changes in 2008-10-30 13:16:52 +00:00
tznames Add SGT (Singapore time) to the default list of known timezone 2008-05-01 20:05:08 +00:00
Makefile More refactoring, so that the SUBSYS.o rules are now all in one place. 2008-02-19 15:29:58 +00:00
README More README src cleanups. 2008-03-21 13:23:29 +00:00
ialloc.c Update timezone code to track the upstream changes since 2003. In particular 2008-02-16 21:16:04 +00:00
localtime.c Update timezone code to track the upstream changes since 2003. In particular 2008-02-16 21:16:04 +00:00
pgtz.c Suppress leap-second-aware timezones in the output of pg_tzenumerate_next, 2008-11-13 20:49:38 +00:00
pgtz.h Update timezone code to track the upstream changes since 2003. In particular 2008-02-16 21:16:04 +00:00
private.h Update timezone code to track the upstream changes since 2003. In particular 2008-02-16 21:16:04 +00:00
scheck.c Update timezone code to track the upstream changes since 2003. In particular 2008-02-16 21:16:04 +00:00
strftime.c Fix function prototype to silence compiler warnings. 2008-02-19 12:06:35 +00:00
tzfile.h Update timezone code to track the upstream changes since 2003. In particular 2008-02-16 21:16:04 +00:00
zic.c Update timezone code to track the upstream changes since 2003. In particular 2008-02-16 21:16:04 +00:00

README

$PostgreSQL: pgsql/src/timezone/README,v 1.7 2008/03/21 13:23:29 momjian Exp $

Timezone
========

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

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

The code is currently synced with release 2007k.  There are many cosmetic
(and not so cosmetic) differences from the original tzcode library, but
diffs in the upstream version should usually be propagated to our version.

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.