valide date in an ascii file

From: dhoubrechts <dhoubrechts(at)cybernet(dot)be>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: valide date in an ascii file
Date: 2002-02-01 20:25:04
Message-ID: 3C5AF9A0.F84B1D73@cybernet.be
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

I'm trying to copy data from an ascii file to a postgres table using :
copy table using 'Home/tetrao/tetrao.txt' using delimiters ';';
My question is : How do i enter valide dates form that file when the
column is empty (;;)? Postgres want some valide date and don't want ''

Please help !

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Tom Lane 2002-02-01 20:40:57 Re: timestamp Format on Binary Cursor
Previous Message Patrick Welche 2002-02-01 11:44:32 Re: libpq++ compiling errors...