pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Gierth <andrew@tao11.riddles.org.uk>
Cc: Thomas Munro <thomas.munro@gmail.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Stephen Frost <sfrost@snowman.net>
Cc: Andres Freund <andres@anarazel.de>
Cc: Christoph Berg <myon@debian.org>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Subject: Re: UCT (Re: pgsql: Update time zone data files to tzdata release 2019a.)
Date: Wed, 26 Jun 2019 13:06:55 -0400
Message-ID: <17148.1561568815@sss.pgh.pa.us> (raw )
In-Reply-To: <8736jwsdv2.fsf@news-spur.riddles.org.uk >
References: <24452.1560285699@sss.pgh.pa.us >
<20190614095546.GA15107@msg.df7cb.de >
<26948.1560517875@sss.pgh.pa.us >
<87ef3w3u8a.fsf@news-spur.riddles.org.uk >
<7114.1560539536@sss.pgh.pa.us >
<875zp74zpf.fsf@news-spur.riddles.org.uk >
<871rzv4yes.fsf@news-spur.riddles.org.uk >
<20190617173943.z3ttxqenbcwrlag4@alap3.anarazel.de >
<20190617183458.GG2480@tamriel.snowman.net >
<20190617183828.hj7ci362zbxd4nax@alap3.anarazel.de >
<20190617184053.GI2480@tamriel.snowman.net >
<CA+TgmoYF00U3Pbkh4mXhXr1NN6pKFM278KmXRS35HDuHgNcMFw@mail.gmail.com >
<25314.1560980148@sss.pgh.pa.us >
<27991.1560984458@sss.pgh.pa.us >
<877e9h18df.fsf@news-spur.riddles.org.uk >
<2643.1561508327@sss.pgh.pa.us >
<877e98syi5.fsf@news-spur.riddles.org.uk >
<CA+hUKGLZN3XHqZPN08itV4W-Nu3ndZ9zKJGSvzoWLm6AU9vz-g@mail.gmail.com >
<8736jwsdv2.fsf@news-spur.riddles.org.uk >
Andrew Gierth <andrew@tao11.riddles.org.uk> writes:
> "Thomas" == Thomas Munro <thomas.munro@gmail.com> writes:
> Thomas> Right. On a FreeBSD system here in New Zealand you get "NZ"
> Thomas> with default configure options (ie using PostgreSQL's tzdata).
> Thomas> But if you build with --with-system-tzdata=/usr/share/zoneinfo
> Thomas> you get "Pacific/Auckland", and that's because the FreeBSD
> Thomas> zoneinfo directory doesn't include the old non-city names like
> Thomas> "NZ", "GB", "Japan", "US/Eastern" etc.
> Same issue here with Europe/London getting "GB".
FreeBSD offers yet another obstacle to Andrew's proposal:
$ uname -a
FreeBSD rpi3.sss.pgh.pa.us 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC arm64
$ ls /usr/share/zoneinfo/
Africa/ Australia/ Etc/ MST WET
America/ CET Europe/ MST7MDT posixrules
Antarctica/ CST6CDT Factory PST8PDT zone.tab
Arctic/ EET HST Pacific/
Asia/ EST Indian/ SystemV/
Atlantic/ EST5EDT MET UTC
No zone1970.tab. I do not think we can rely on that file being there,
since zic itself doesn't install it; it's up to packagers whether or
where to install the "*.tab" files.
In general, the point I'm trying to make is that our policy should be
"Ties are broken arbitrarily, and if you don't like the choice that initdb
makes, here's how to fix it". As soon as we try to break some ties in
favor of somebody's idea of what is "right", we are in for neverending
problems with different people disagreeing about what is "right", and
insisting that their preference should be the one the code enforces.
Let's *please* not go there, or even within hailing distance of it.
(By this light, even preferring UTC over UCT is a dangerous precedent.
I won't argue for reverting that, but I don't want to go further.)
regards, tom lane
view thread (74+ messages) latest in thread
Message-ID: <17148.1561568815@sss.pgh.pa.us>
Permalink: ../17148.1561568815@sss.pgh.pa.us/
Also on: postgresql.org/message-id/17148.1561568815@sss.pgh.pa.us
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us, andrew@tao11.riddles.org.uk, thomas.munro@gmail.com, robertmhaas@gmail.com, sfrost@snowman.net, andres@anarazel.de, myon@debian.org, pgsql-hackers@postgresql.org
Subject: Re: UCT (Re: pgsql: Update time zone data files to tzdata release 2019a.)
In-Reply-To: <17148.1561568815@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox