From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stef <svb@ucs.co.za>
Cc: pgsql-sql@postgresql.org
Subject: Re: ERROR: Unable to format timestamp; internal coding error
Date: Wed, 23 Jun 2004 12:30:32 -0400
Message-ID: <3434.1088008232@sss.pgh.pa.us> (raw)
In-Reply-To: <20040623180721.1bb39778@svb.ucs.co.za>
References: <20040623180721.1bb39778@svb.ucs.co.za>
Stef <svb@ucs.co.za> writes:
> I've narrowed my problem down to the following
> Java Timestamp that I managed to insert into
> a postgres 7.3.4 database :
> Timestamp : '1475666-11-30 02:00:00.0'
> My problem is, that when I try and select from the table I inserted
> this timestamp into, I get the following error :
> ERROR: Unable to format timestamp; internal coding error
FWIW, this is fixed in 7.4 and later.
> Is there a way to select the values in the table?
I'd try something like
UPDATE table SET ... WHERE timestamp > '9999-01-01';
regards, tom lane
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, svb@ucs.co.za
Subject: Re: ERROR: Unable to format timestamp; internal coding error
In-Reply-To: <3434.1088008232@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