Skip site navigation (1) Skip section navigation (2)

Re: Timestamp Summary

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Christian Cryder <c(dot)s(dot)cryder(at)gmail(dot)com>
Cc: List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Timestamp Summary
Date: 2005-07-25 23:18:32
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-jdbc
Christian Cryder wrote:
> I just wanted to take a few moments and summarize where we are in our
> Timestamp woes issue. I'm also going to post a piece of code that
> illustrates some of the problems we've experienced, and then try and
> explain the conclusions we've arrived at. Hopefully this well help
> others in the future.

Why is another thread on this necessary?

Did you try the patch I sent you off-list?

>         if (tz.useDaylightTime()) {
>             stmt.execute("set timezone='"+tz.getID().toLowerCase()+"'");
>         } else {
>             stmt.execute("set timezone='etc/gmt"+(roff<=0 ? "+" :
> "")+(roff/-3600000)+"'");
>         }

I have real problems with fiddling with the server timezone as discussed
in the other thread, and I'd rather not see this patch applied. It makes
a heck of a lot of assumptions about how Java/server timezones match up,
and we have other options (namely using Unknown parameter types) that
seem better.


In response to


pgsql-jdbc by date

Next:From: Oliver JowettDate: 2005-07-25 23:54:51
Subject: Re: Timestamp Summary
Previous:From: Oliver JowettDate: 2005-07-25 23:15:03
Subject: Re: getMoreResults() issue

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group