Re: Timezones on Tru64 (Digital Unix) - Mailing list pgsql-general

From Tom Lane
Subject Re: Timezones on Tru64 (Digital Unix)
Date
Msg-id 6877.959177970@sss.pgh.pa.us
Whole thread Raw
In response to Re: Timezones on Tru64 (Digital Unix)  (SL Baur <steve@beopen.com>)
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: arguments passed to a trigger function
Next
From: Tom Lane
Date:
Subject: Re: Fwd: Bug with groups and access permissions (7.0.0RC1): more information