Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id D0CE0632BB3 for ; Sun, 13 Sep 2009 20:22:48 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 59815-03 for ; Sun, 13 Sep 2009 23:22:31 +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 7D0686347C3 for ; Sun, 13 Sep 2009 20:22:37 -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 1MmyOu-0002FS-5F; Mon, 14 Sep 2009 11:22:32 +1200 Message-ID: <4AAD7EB7.7020806@opencloud.com> Date: Mon, 14 Sep 2009 11:22:31 +1200 From: Oliver Jowett User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: carsten.klein@axn-software.de CC: pgsql-jdbc@postgresql.org Subject: Re: TimeZone related issues in org.postgresql.jdbc2.TimestampUtils References: <6a89dba438112783b27f59f66336472f.squirrel@webmail.axn-software.de> In-Reply-To: <6a89dba438112783b27f59f66336472f.squirrel@webmail.axn-software.de> 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=AWL=0.000, BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 200909/16 X-Sequence-Number: 19963 Carsten Klein wrote: > Hi All, > > in an application that uses TIMESTAMP WITH TIME ZONE as the type for > certain attributes, we stumbled across the problem that, sometimes, the > values returned from the database will be adjusted so that the time zone > offset will be added/subtracted from the actual time stored in the > database. Timezone stuff is very picky. Can you provide a standalone testcase so we can see exactly what's going on? -O