Re: Timezones on Tru64 (Digital Unix)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: SL Baur <steve(at)beopen(dot)com>
Cc: Stephane Bortzmeyer <bortzmeyer(at)pasteur(dot)fr>, pgsql-general(at)postgresql(dot)org
Subject: Re: Timezones on Tru64 (Digital Unix)
Date: 2000-05-24 14:19:30
Message-ID: 6877.959177970@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

SL Baur <steve(at)beopen(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Hannu Krosing 2000-05-24 14:34:01 Re: Re: [HACKERS] Postgresql OO Patch
Previous Message Hannu Krosing 2000-05-24 14:17:48 Re: Re: [HACKERS] Postgresql OO Patch