pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Samuel Gendler <sgendler@ideasculptor.com>
Cc: Oliver Jowett <oliver@opencloud.com>
Cc: Colin Taylor <colin.taylor@gmail.com>
Cc: pgsql-jdbc <pgsql-jdbc@postgresql.org>
Subject: Re: date/time out of range
Date: Tue, 18 Jan 2011 11:10:22 -0500
Message-ID: <10987.1295367022@sss.pgh.pa.us> (raw)
In-Reply-To: <AANLkTin4Q5efXgRoY9AVRFFwgYOcGTOZr8e6tTtdZ+sZ@mail.gmail.com>
References: <AANLkTi=zUztkJbc_N9aoQdS0eOwJWCCta79jNO3WCuAu@mail.gmail.com>
	<4D3514F3.5080301@opencloud.com>
	<AANLkTi=kQoWiJTdZitO1gxkKSFdrhEarWcH+ywny7oq3@mail.gmail.com>
	<4D3521E5.9030306@opencloud.com>
	<AANLkTin4Q5efXgRoY9AVRFFwgYOcGTOZr8e6tTtdZ+sZ@mail.gmail.com>

Samuel Gendler <sgendler@ideasculptor.com> 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



view thread (8+ messages)  latest in thread

Message-ID: <10987.1295367022@sss.pgh.pa.us>
Permalink:  ../10987.1295367022@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/10987.1295367022@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: tgl@sss.pgh.pa.us, sgendler@ideasculptor.com, oliver@opencloud.com, colin.taylor@gmail.com
  Subject: Re: date/time out of range
  In-Reply-To: <10987.1295367022@sss.pgh.pa.us>
  References: <AANLkTi=zUztkJbc_N9aoQdS0eOwJWCCta79jNO3WCuAu@mail.gmail.com> <4D3514F3.5080301@opencloud.com> <AANLkTi=kQoWiJTdZitO1gxkKSFdrhEarWcH+ywny7oq3@mail.gmail.com> <4D3521E5.9030306@opencloud.com> <AANLkTin4Q5efXgRoY9AVRFFwgYOcGTOZr8e6tTtdZ+sZ@mail.gmail.com> <10987.1295367022@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox