pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Douglas Mayle <douglas@mayle.org>
To: pgsql-admin@postgresql.org
Subject: Funny questions...
Date: Fri, 7 Mar 2003 00:32:26 -0500
Message-ID: <000501c2e46a$f01e5060$0a0310ac@Tablet> (raw)

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?

 

  <http://dmayle.com/dotsig.gif; 

Doug 

 

Message-ID: <000501c2e46a$f01e5060$0a0310ac@Tablet>
Permalink:  ../000501c2e46a$f01e5060$0a0310ac@Tablet/
Also on:    postgresql.org/message-id/000501c2e46a$f01e5060$0a0310ac@Tablet

 · 

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-admin@postgresql.org
  Cc: douglas@mayle.org
  Subject: Re: Funny questions...
  In-Reply-To: <000501c2e46a$f01e5060$0a0310ac@Tablet>
  References: <000501c2e46a$f01e5060$0a0310ac@Tablet>

* 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