Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 3E5B01337B5C for ; Tue, 18 Jan 2011 12:10:38 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 37163-01 for ; Tue, 18 Jan 2011 16:10:31 +0000 (UTC) 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 AAB4C133655C for ; Tue, 18 Jan 2011 12:10:30 -0400 (AST) 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 p0IGAM8M010988; Tue, 18 Jan 2011 11:10:22 -0500 (EST) To: Samuel Gendler cc: Oliver Jowett , Colin Taylor , pgsql-jdbc Subject: Re: date/time out of range In-reply-to: References: <4D3514F3.5080301@opencloud.com> <4D3521E5.9030306@opencloud.com> Comments: In-reply-to Samuel Gendler message dated "Mon, 17 Jan 2011 21:29:59 -0800" Date: Tue, 18 Jan 2011 11:10:22 -0500 Message-ID: <10987.1295367022@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201101/47 X-Sequence-Number: 21379 Samuel Gendler writes: >> On 18/01/11 17:00, Colin Taylor wrote: >>> 10127 Caused by: org.postgresql.util.PSQLException: ERROR: date/time >>> field value out of range: "2011-01-12 21:30:00.000000 +13:00:00" > Is there a +13:00:00 timezone or does that wind up crossing the date line? > If Java has no mechanism for converting that time zone to whatever date/time > type it is trying to convert to, the exception would make sense. The weird thing is that the message appears to be a server-side error; at least it exactly matches the spelling of one server error. But I don't understand how come it occurs only from JDBC and not in psql. regards, tom lane