Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 40E3B634AA5 for ; Fri, 13 Mar 2009 18:50:35 -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 99743-04-2 for ; Fri, 13 Mar 2009 18:50:23 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 6B35F633C2B for ; Fri, 13 Mar 2009 18:50:21 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id n2DLoBJ6018697; Fri, 13 Mar 2009 17:50:11 -0400 (EDT) To: Roland Roberts cc: pgsql-jdbc@postgresql.org Subject: Re: ResultSet.getTimestamp(Calendar) off by one-hour In-reply-to: <49BAC2AC.1010505@astrofoto.org> References: <49BA8D93.4010901@astrofoto.org> <49BAAE48.8050705@astrofoto.org> <4747.1236975395@sss.pgh.pa.us> <49BAC2AC.1010505@astrofoto.org> Comments: In-reply-to Roland Roberts message dated "Fri, 13 Mar 2009 16:31:40 -0400" Date: Fri, 13 Mar 2009 17:50:10 -0400 Message-ID: <18696.1236981010@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.016 tagged_above=0 required=5 tests=AWL=0.016 X-Spam-Level: X-Archive-Number: 200903/74 X-Sequence-Number: 19404 Roland Roberts writes: > I can certainly try timestamp with time zone, but the plan is to deploy > with a column that does not include time zone because all times are > supposed to be stored in UTC. Hm, do you have the server's TimeZone setting set to UTC? Maybe the JDBC driver is overriding that? regards, tom lane