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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: arguments passed to a trigger function
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Fwd: Bug with groups and access permissions (7.0.0RC1): more information