Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 685DE63706E for ; Tue, 15 Sep 2009 21:19:10 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 35013-03-7 for ; Wed, 16 Sep 2009 00:18:59 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from tremor.opencloud.co.nz (tremor.opencloud.co.nz [131.203.101.230]) by mail.postgresql.org (Postfix) with ESMTP id B3011636241 for ; Tue, 15 Sep 2009 21:17:39 -0300 (ADT) Received: from 122-57-44-76.jetstream.xtra.co.nz ([122.57.44.76] helo=[192.168.1.3]) by tremor.opencloud.co.nz with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1MniDE-0001DN-3E; Wed, 16 Sep 2009 12:17:32 +1200 Message-ID: <4AB02E9A.2040909@opencloud.com> Date: Wed, 16 Sep 2009 12:17:30 +1200 From: Oliver Jowett User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Manoj Ganesan CC: pgsql-jdbc@postgresql.org Subject: Re: Inconsistency between timezones References: <4b7f2c670909151318r58681e8eo75ecb32259b4937c@mail.gmail.com> In-Reply-To: <4b7f2c670909151318r58681e8eo75ecb32259b4937c@mail.gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 200909/18 X-Sequence-Number: 19965 Manoj Ganesan wrote: > I am confused about how the driver interprets (if at all it does) > timezones to and from the database. > JDBC driver version: 8.1.404 That's a pretty old driver. Try upgrading and see if the problem persists. If you still have problems, then please send through a selfcontained testcase that shows the problem. Timestamp-related problems usually depend a lot on the exact datatypes and queries involved, and the exact JDBC calls that you make. -O