Re: Timezone List - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Timezone List
Date
Msg-id 22922.1157569287@sss.pgh.pa.us
Whole thread Raw
In response to Re: Timezone List  (Martijn van Oosterhout <kleptog@svana.org>)
Responses Re: Timezone List  (Naz Gassiep <naz@mira.net>)
Re: Timezone List  ("Magnus Hagander" <mha@sollentuna.net>)
Re: Timezone List  (Gavin Sherry <swm@linuxworld.com.au>)
List pgsql-hackers
Martijn van Oosterhout <kleptog@svana.org> writes:
> In the CVS version there is a table with this information:
> http://developer.postgresql.org/pgdocs/postgres/view-pg-timezonenames.html

Actually, what that view gives you is timezone offset abbreviations, not
the full zone names that you could use with SET TIME ZONE.  It strikes
me that we should have a view for that as well.  We could use code
similar to scan_available_timezones() to generate the view output.

It's somewhat urgent to address this now, because pg_timezonenames is
sitting on the obvious name for such a view, and once we release 8.2
we won't be able to change it.  On reflection I think the existing view
is wrongly named --- perhaps it should be pg_timezoneabbrevs?  Or
more readably, perhaps pg_timezone_abbrevs, with pg_timezone_names for
the other view.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Timezone List
Next
From: Stefan Kaltenbrunner
Date:
Subject: Re: ECPG/OpenBSD buildfarm failures, take I