Re: Timestamp Conversion Woes Redux - Mailing list pgsql-jdbc

From Tom Lane
Subject Re: Timestamp Conversion Woes Redux
Date
Msg-id 28984.1122039754@sss.pgh.pa.us
Whole thread Raw
In response to Re: Timestamp Conversion Woes Redux  (Dave Cramer <pg@fastcrypt.com>)
Responses Re: Timestamp Conversion Woes Redux  (Dave Cramer <pg@fastcrypt.com>)
List pgsql-jdbc
Dave Cramer <pg@fastcrypt.com> writes:
> One issue I have is that the server returns some time zones in
> lowercase.

> ie EST -> est
>      EST5EDT -> est5edt

I think that in some contexts the case you will get back is what you
give in the SET command.  So do
    set timezone = 'EST5EDT';
not
    set timezone = EST5EDT;
(the latter is downcased as if it were an identifier).

            regards, tom lane

pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: Timestamp Conversion Woes Redux
Next
From: Tom Lane
Date:
Subject: Re: Timestamp Conversion Woes Redux