Re: BUG #13267: Some timezones in pg_timezone_names are missing in pg_timezone_abbrevs

From: Berend De Schouwer <berend(dot)de(dot)schouwer(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #13267: Some timezones in pg_timezone_names are missing in pg_timezone_abbrevs
Date: 2015-05-11 15:09:31
Message-ID: 5550C62B.6000903@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 11/05/2015 16:37, Tom Lane wrote:
> berend(dot)de(dot)schouwer(at)gmail(dot)com writes:
>> Some timezone abbreviations are missing in Postgresql. For example, 'CAT'
>> (Central African Time)
> CAT is not in the default abbreviation set, but if you have a need for
> it, you can add it to the set of abbreviations accepted by the server. See
> http://www.postgresql.org/docs/9.3/static/datetime-config-files.html
>
Thank you for the response.

We are working around the problem. We had already decided to stop using
strings, but instead timestamp values and datetime constructs, etc.
where possible.

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.

It makes for unexpected bugs when the OS, Java and the DB have different
locale and zoneinfo datasets.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2015-05-11 15:23:15 Re: BUG #13267: Some timezones in pg_timezone_names are missing in pg_timezone_abbrevs
Previous Message Robert Haas 2015-05-11 15:00:10 Re: Re: BUG #12990: Missing pg_multixact/members files (appears to have wrapped, then truncated)