postgresql/src/timezone/tznames
Tom Lane 7fe3083f4c Ensure that distributed timezone abbreviation files are plain ASCII.
We had two occurrences of "Mitteleuropäische Zeit" in Europe.txt,
though the corresponding entries in Default were spelled
"Mitteleuropaeische Zeit".  Standardize on the latter spelling to
avoid questions of which encoding to use.

While here, correct a couple of other trivial inconsistencies between
the Default file and the supposedly-matching entries in the *.txt
files, as exposed by some checking with comm(1).  Also, add BDST to
the Europe.txt file; it previously was only listed in Default.
None of this has any direct functional effect.

Per complaint from Christoph Berg.  As usual for timezone data patches,
apply to all branches.

Discussion: https://postgr.es/m/20200716100743.GE3534683@msg.df7cb.de
2020-07-17 11:03:55 -04: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 Ensure that distributed timezone abbreviation files are plain ASCII. 2020-07-17 11:03:55 -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 Update time zone data files to tzdata release 2018f. 2018-10-19 17:01:34 -04:00
README Replace @postgresql.org with @lists.postgresql.org for mailinglists 2019-01-19 19:06:35 +01: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.