X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 9FAA5D1B215 for ; Wed, 23 Jun 2004 13:30:34 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 24241-10 for ; Wed, 23 Jun 2004 16:30:34 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 2C14DD1B209 for ; Wed, 23 Jun 2004 13:30:33 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i5NGUWuM003435; Wed, 23 Jun 2004 12:30:32 -0400 (EDT) To: Stef Cc: pgsql-sql@postgresql.org Subject: Re: ERROR: Unable to format timestamp; internal coding error In-reply-to: <20040623180721.1bb39778@svb.ucs.co.za> References: <20040623180721.1bb39778@svb.ucs.co.za> Comments: In-reply-to Stef message dated "Wed, 23 Jun 2004 18:07:21 +0200" Date: Wed, 23 Jun 2004 12:30:32 -0400 Message-ID: <3434.1088008232@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200406/218 X-Sequence-Number: 18163 Stef 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