Re: work in progress: timestamp patch
От | Dave Cramer |
---|---|
Тема | Re: work in progress: timestamp patch |
Дата | |
Msg-id | 4530E903-A144-4779-90CA-1477431E8280@fastcrypt.com обсуждение исходный текст |
Ответ на | Re: work in progress: timestamp patch (Oliver Jowett <oliver@opencloud.com>) |
Список | pgsql-jdbc |
On 26-Jul-05, at 6:23 AM, Oliver Jowett wrote:
No, I think this may be the bug that causes it to fail currently. Not that it shouldn't be overhauled. But this one isDave Cramer wrote:On 26-Jul-05, at 1:23 AM, Oliver Jowett wrote:I looked at this and the current code is certainly wrong. The timezoneoffset of a Timestamp (deprecated method!) returns the offset of theJVM's default timezone always. We should indeed be passing the targetcalendar and using that.I've added that change to my patch. Interestingly none of the regressiontests fail with it changed; we're very short on tests that actually testthe with-Calendar code..Well, I actually think this little change is more of the problem than anything else.I don't understand what you mean -- are you saying we shouldn't change this?
probably the most significant "bug"
OK.
Did you manage to cobble together a patch for me to test ?I'll send you a current snapshot in an hour or so. I got sidetracked into trying to work out the semantics of getDate() and getTime() on a timestamptz, still haven't found an entirely satisfactory solution..
-O---------------------------(end of broadcast)---------------------------TIP 4: Have you searched our list archives?
В списке pgsql-jdbc по дате отправления: