From: Oliver Jowett <oliver@opencloud.com>
To: Do, Leon \(Leon\) <leondo@lucent.com>
Cc: Dave Cramer <pg@fastcrypt.com>
Cc: imad <immaad@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: help with front/backend datatype converting
Date: Tue, 14 Nov 2006 23:05:53 +0000
Message-ID: <455A4BD1.6020302@opencloud.com> (raw)
In-Reply-To: <D1EE06BA46B1E4449AF9A4F2FBEE1861285FED@ILEXC2U01.ndc.lucent.com>
References: <D1EE06BA46B1E4449AF9A4F2FBEE1861285FED@ILEXC2U01.ndc.lucent.com>
Do, Leon (Leon) wrote:
> I think postgres has a few bugs in this area. When timezone doesn’t
> have a semicolon between hour and min, TimestampUtil.java cann’t handle
> it. The firstNonDigits method call below returns all four digits and
> assigns them to timezone hour variable.
Does the server ever generate timezones like this?
> And for the second bugs, fractional part of the second (e.g.
> 14:36:19.213000) seem to be interpreted incorrectly when converting to
> Java Date. 213000 would round up as additional 3.52 mins.
Testcase please?
-O
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: oliver@opencloud.com, leondo@lucent.com, pg@fastcrypt.com, immaad@gmail.com
Subject: Re: help with front/backend datatype converting
In-Reply-To: <455A4BD1.6020302@opencloud.com>
References: <D1EE06BA46B1E4449AF9A4F2FBEE1861285FED@ILEXC2U01.ndc.lucent.com> <455A4BD1.6020302@opencloud.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox