postgresql/src/timezone/tznames
Bruce Momjian 29275b1d17 Update copyright for 2024
Reported-by: Michael Paquier

Discussion: https://postgr.es/m/ZZKTDPxBBMt3C0J9@paquier.xyz

Backpatch-through: 12
2024-01-03 20:49:05 -05:00
..
Africa.txt Update time zone data files to tzdata release 2018c. 2018-01-27 16:42:28 -05:00
America.txt Update time zone data files to tzdata release 2018f. 2018-10-19 17:01:34 -04:00
Antarctica.txt Ensure that distributed timezone abbreviation files are plain ASCII. 2020-07-17 11:03:55 -04:00
Asia.txt Update time zone data files to tzdata release 2018f. 2018-10-19 17:01:34 -04:00
Atlantic.txt Update time zone data files to tzdata release 2017b. 2017-05-01 11:53:11 -04:00
Australia Remove vestigial references to "zic" in favor of "IANA database". 2016-09-04 19:42:08 -04:00
Australia.txt Ensure that distributed timezone abbreviation files are plain ASCII. 2020-07-17 11:03:55 -04:00
Default Remove PHOT from our default timezone abbreviations list. 2023-10-28 11:54:40 -04:00
Etc.txt Remove vestigial references to "zic" in favor of "IANA database". 2016-09-04 19:42:08 -04:00
Europe.txt Ensure that distributed timezone abbreviation files are plain ASCII. 2020-07-17 11:03:55 -04:00
India Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
Indian.txt Update time zone data files to tzdata release 2017b. 2017-05-01 11:53:11 -04:00
Makefile Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
Pacific.txt Remove PHOT from our default timezone abbreviations list. 2023-10-28 11:54:40 -04:00
README Replace @postgresql.org with @lists.postgresql.org for mailinglists 2019-01-19 19:06:35 +01:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00

README

src/timezone/tznames/README

tznames
=======

This directory contains files with timezone sets for PostgreSQL.  The problem
is that time zone abbreviations are not unique throughout the world and you
might find out that a time zone abbreviation in the `Default' set collides
with the one you wanted to use.  This can be fixed by selecting a timezone
set that defines the abbreviation the way you want it.  There might already
be a file here that serves your needs.  If not, you can create your own.

In order to use one of these files, you need to set

   timezone_abbreviations = 'xyz'

in any of the usual ways for setting a parameter, where xyz is the filename
that contains the desired time zone abbreviations.

If you do not find an appropriate set of abbreviations for your geographic
location supplied here, please report this to <pgsql-hackers@lists.postgresql.org>.
Your set of time zone abbreviations can then be included in future releases.
For the time being you can always add your own set.

Typically a custom abbreviation set is made by including the `Default' set
and then adding or overriding abbreviations as necessary.  For examples,
see the `Australia' and `India' files.

The files named Africa.txt, etc, are not intended to be used directly as
time zone abbreviation files. They contain reference definitions of time zone
abbreviations that can be copied into a custom abbreviation file as needed.
These files contain most of the time zone abbreviations that were shown
in the IANA timezone database circa 2010.

However, it turns out that many of these abbreviations had simply been
invented by the IANA timezone group, and do not have currency in real-world
use.  The IANA group have changed their policy about that, and now prefer to
use numeric UTC offsets whenever there's not an abbreviation with known
real-world popularity.  A lot of these abbreviations therefore no longer
appear in the IANA data, and so are marked "obsolete" in these data files.