From: dircha <dircha@dircha.com>
To: Oliver Jowett <oliver@opencloud.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: ResultSet#xxxTimestamp for DATE column unexpected behavior
Date: Thu, 22 Sep 2005 17:06:49 -0500
Message-ID: <1127426809.877.243552739@webmail.messagingengine.com> (raw)
In-Reply-To: <4331D5C2.2070903@opencloud.com>
References: <1127334078.8792.243450226@webmail.messagingengine.com>
<4331D5C2.2070903@opencloud.com>
On Thu, 22 Sep 2005 09:50:58 +1200, "Oliver Jowett"
<oliver@opencloud.com> said:
> dircha wrote:
>
> > pgsql-jdbc version: postgres80-312-jdbc2.jar
>
> Please try the current CVS driver -- I made a number of fixes to
> timestamp handling in CVS recently.
I built the latest pgsql-jdbc from cvs HEAD and ran the previously
described tests again.
Both issues I mentioned appear to have been fixed; the behavior is
as expected.
Great.
Is there any word yet on which official build these changes might be
expected to be present in, in terms of the labeling used on the pgsql-
jdbc downloads page? Will there be another 8.0-xxx.jdbc3.jar, or would
these changes go into a forthcoming stable 8.1-xxx.jdbc3.jar?
For reference, the updated results of the previously described test
are below.
Thanks!
--dircha
-------BEGIN TEST DATE AS TIMESTAMP-----------
- Creating test.
- Inserting '2000-1-1' into test.
Retrieving date from test: 2000-01-01
Retrieving timestamp from test: 2000-01-01 00:00:00.0
Updating test with retrieved timestamp
Retrieving date from test: 2000-01-01
-------END TEST DATE AS TIMESTAMP------------------BEGIN TEST DATE AS
TIMESTAMP-----------
- Creating test.
- Inserting '3000-1-1' into test.
Retrieving date from test: 3000-01-01
Retrieving timestamp from test: 3000-01-01 00:00:00.0
Updating test with retrieved timestamp
Retrieving date from test: 3000-01-01
-------END TEST DATE AS TIMESTAMP----------- DONE
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: dircha@dircha.com, oliver@opencloud.com
Subject: Re: ResultSet#xxxTimestamp for DATE column unexpected behavior
In-Reply-To: <1127426809.877.243552739@webmail.messagingengine.com>
References: <1127334078.8792.243450226@webmail.messagingengine.com> <4331D5C2.2070903@opencloud.com> <1127426809.877.243552739@webmail.messagingengine.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