Re: [HACKERS] Timezone List

Поиск
Список
Период
Сортировка
От Joachim Wieland
Тема Re: [HACKERS] Timezone List
Дата
Msg-id 20060919100554.GA3069@mcknight.de
обсуждение исходный текст
Ответ на Re: [HACKERS] Timezone List  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
On Sat, Sep 16, 2006 at 04:19:48PM -0400, Tom Lane wrote:
> "Magnus Hagander" <mha@sollentuna.net> writes:
> > Here goes. Tested only on win32 so far, but works there. No docs yet
> > either - need to know if it goes in first ;)

> I've applied this along with some extra work to get it to show GMT
> offsets and DST status, which should be useful for helping people
> to choose which setting they want.  This effectively obsoletes
> Table B-5 as well as B-4 in the SGML docs ... we should probably
> remove both of those in favor of recommending people look at the
> views.

http://momjian.us/main/writings/pgsql/sgml/view-pg-timezone-names.html says
that the names in the view are "recognized" as argument to "SET TIMEZONE".
However some of them can still not be used if they contain leap seconds, try
for example

set timezone to 'Mideast/Riyadh87';

Should we just document that some can't be set or remove those from the view
completely or add another boolean column has_leapsecs or similar?

Removing them seems not to be the right idea because you can say:

select now() at time zone 'Mideast/Riyadh87';


Joachim

--
Joachim Wieland                                              joe@mcknight.de
                                                           GPG key available

В списке pgsql-patches по дате отправления:

Предыдущее
От: Gregory Stark
Дата:
Сообщение: More doc patches
Следующее
От: Simon Riggs
Дата:
Сообщение: Small additions and typos on backup