Re: Timezones on Tru64 (Digital Unix)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Timezones on Tru64 (Digital Unix)
Дата
Msg-id 6877.959177970@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Timezones on Tru64 (Digital Unix)  (SL Baur <steve@beopen.com>)
Список pgsql-general
SL Baur <steve@beopen.com> writes:
> Oops.  I didn't check carefully enough.  Sorry.
>> steve=# set timezone='US/Pacific';
> That's incorrect syntax, it appears.  Setting the timezone as `PST8PDT'
> or `:US/Pacific' works.

Looking at the code, it seems that 'set timezone' is implemented
directly as setting the TZ environment variable in the server.
So whatever timezone names are known to your local tzset() are the
ones that should work.  I'd expect names like `PST8PDT' to be
pretty standard, other names less so...

            regards, tom lane

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