Re: Timestamp Conversion Woes Redux

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dave Cramer <pg(at)fastcrypt(dot)com>
Cc: Oliver Jowett <oliver(at)opencloud(dot)com>, Kris Jurka <books(at)ejurka(dot)com>, Christian Cryder <c(dot)s(dot)cryder(at)gmail(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Timestamp Conversion Woes Redux
Date: 2005-07-22 13:42:34
Message-ID: 28984.1122039754@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Dave Cramer <pg(at)fastcrypt(dot)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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Tom Lane 2005-07-22 13:45:17 Re: Timestamp Conversion Woes Redux
Previous Message Dave Cramer 2005-07-22 12:58:51 Re: Timestamp Conversion Woes Redux