From: Berend De Schouwer <berend.de.schouwer@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #13267: Some timezones in pg_timezone_names are missing in pg_timezone_abbrevs
Date: Tue, 12 May 2015 13:22:09 +0200
Message-ID: <5551E261.4010603@gmail.com> (raw)
In-Reply-To: <26961.1431357795@sss.pgh.pa.us>
References: <20150511085606.1089.6198@wrigleys.postgresql.org>
<25209.1431355052@sss.pgh.pa.us>
<5550C62B.6000903@gmail.com>
<26961.1431357795@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 11/05/2015 17:23, Tom Lane wrote:
> Berend De Schouwer <berend.de.schouwer@gmail.com> writes:
>> I was just surprised to see that the list of abbrevs in _names is
>> different from the list of abbrevs in _abbrevs. I would have expected
>> the lists to be identical.
> Unfortunately not. If you look a bit closer you will note that many
> time zones use the very same abbreviation for entirely different UTC
> offsets, so we could not possibly make those mappings be inverses.
That's a surprise and a bummer. Ooh. OK, that's a very good reason.
> Another reason for limiting what the server will accept is to reduce
> the scope for errors: even though there is only one meaning for "CAT"
> anywhere in the world, if you are not in Africa then it's quite likely
> that such a string is a typo (perhaps for "CST", which is only one key
> away) and not intended input.
That argument goes both ways :)
Anyway, the server isn't necessarily next to the client, or even on the
same continent.
Thanks for the help.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: berend.de.schouwer@gmail.com, tgl@sss.pgh.pa.us
Subject: Re: BUG #13267: Some timezones in pg_timezone_names are missing in pg_timezone_abbrevs
In-Reply-To: <5551E261.4010603@gmail.com>
References: <20150511085606.1089.6198@wrigleys.postgresql.org> <25209.1431355052@sss.pgh.pa.us> <5550C62B.6000903@gmail.com> <26961.1431357795@sss.pgh.pa.us> <5551E261.4010603@gmail.com>
* 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