mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
The recent unpleasantness with copyrights has accelerated a move that was already in planning.
30 lines
1.0 KiB
Plaintext
30 lines
1.0 KiB
Plaintext
src/timezone/README
|
|
|
|
Timezone
|
|
========
|
|
|
|
This is a PostgreSQL adapted version of the timezone library from
|
|
http://www.iana.org/time-zones
|
|
|
|
The source code can be found at:
|
|
|
|
ftp://ftp.iana.org/tz/releases/tzcode*.tar.gz
|
|
|
|
The code is currently synced with release 2010c. 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://ftp.iana.org/tz/releases/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.
|