X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id B0457D7933 for ; Thu, 22 Sep 2005 19:06:54 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 32095-04 for ; Thu, 22 Sep 2005 22:06:47 +0000 (GMT) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by svr1.postgresql.org (Postfix) with ESMTP id F11D9D72AB for ; Thu, 22 Sep 2005 19:06:47 -0300 (ADT) Received: from frontend1.internal (mysql-sessions.internal [10.202.2.149]) by frontend1.messagingengine.com (Postfix) with ESMTP id 1AF57CCF862; Thu, 22 Sep 2005 18:06:48 -0400 (EDT) Received: from web3.messagingengine.com ([10.202.2.212]) by frontend1.internal (MEProxy); Thu, 22 Sep 2005 18:06:48 -0400 Received: by web3.messagingengine.com (Postfix, from userid 99) id 24AC3131F8; Thu, 22 Sep 2005 18:06:49 -0400 (EDT) Message-Id: <1127426809.877.243552739@webmail.messagingengine.com> X-Sasl-Enc: utCchfW13hqGIv+GXhhSD9HB9s/p8Y6y/MuDaQJwKVTN 1127426809 From: "dircha" To: "Oliver Jowett" Cc: pgsql-jdbc@postgresql.org Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.5 (F2.73; T1.15; A1.64; B3.05; Q3.03) References: <1127334078.8792.243450226@webmail.messagingengine.com> <4331D5C2.2070903@opencloud.com> Subject: Re: ResultSet#xxxTimestamp for DATE column unexpected behavior In-Reply-To: <4331D5C2.2070903@opencloud.com> Date: Thu, 22 Sep 2005 17:06:49 -0500 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 required=5 tests=[FORGED_RCVD_HELO=0.05] X-Spam-Level: X-Archive-Number: 200509/96 X-Sequence-Number: 13881 On Thu, 22 Sep 2005 09:50:58 +1200, "Oliver Jowett" 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