X-Original-To: pgsql-admin@postgresql.org Received: from mail231.csoft.net (resin.csoft.net [63.111.22.86]) by postgresql.org (Postfix) with SMTP id 3F512476530 for ; Fri, 7 Mar 2003 00:32:41 -0500 (EST) Received: (qmail 30442 invoked from network); 7 Mar 2003 05:32:45 -0000 Received: from unknown (HELO Tablet) (63.111.27.87) by mail231.csoft.net with SMTP; 7 Mar 2003 05:32:45 -0000 From: "Douglas Mayle" To: Subject: Funny questions... Date: Fri, 7 Mar 2003 00:32:26 -0500 Message-ID: <000501c2e46a$f01e5060$0a0310ac@Tablet> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0006_01C2E441.07484860" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Archive-Number: 200303/54 X-Sequence-Number: 7702 This is a multi-part message in MIME format. ------=_NextPart_000_0006_01C2E441.07484860 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I'm trying to upgrade a Postgres 7.0.3 database to something current, and the new version spits out an error when I try and import the data file, complaining that 'invalid' is no longer supported as a timestamp. The funny thing is, when I try and run a query in psql like "select * from mytable where mydate = 'invalid'" nothing is returned. When I run a query like "select mydate from mytable where myprimarykey = 5" I get : mydate ------------ invalid (1 row) How can I either update these values with a query, or get the upgrade to work? Doug ------=_NextPart_000_0006_01C2E441.07484860 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I'm trying to upgrade a Postgres 7.0.3 database to something current, and the new version spits out an error when I try and im= port the data file, complaining that 'invalid' is no longer supported as a timestamp.

The funny thing is, when I try and run a query in psql like "select * = from mytable where mydate =3D 'invalid'" nothing is returned.

When I run a query like "select mydate from mytable where myprimarykey= =3D 5" I get :
mydate
------------
invalid
(1 row)

How can I either update these values with a query, or get the upgrade to wo= rk?

 

<= /span>

Doug 

 

------=_NextPart_000_0006_01C2E441.07484860--