Re: Converting file -Invalid data format on input DATE - Mailing list pgsql-novice

From Bruno Wolff III
Subject Re: Converting file -Invalid data format on input DATE
Date
Msg-id 20041126150452.GA26221@wolff.to
Whole thread Raw
In response to Converting file -Invalid data format on input DATE  (Fred Wohlfert <fredwohlfert@ehbmail.com>)
List pgsql-novice
On Tue, Nov 23, 2004 at 16:36:07 -0500,
  Fred Wohlfert <fredwohlfert@ehbmail.com> wrote:
> I am converting data from  dBaseIII format trying to load into Postgresql.
>
> I am having a problem with DATE field, the file I am working with does
> not have any data for
> this field on some records.  I have been fixing other problems with sed,
> however I am stumped with this.
>
> Will Postgresql take a null as input for a DATE field?

If you mean an empty string, no that isn't a valid date. You can store
SQL NULLs in a date column as long as you don't have any constraints that
would prohibit them.

pgsql-novice by date:

Previous
From: Aarni Ruuhimäki
Date:
Subject: Querying a list field against another list
Next
From: Kjetil Haaland
Date:
Subject: problem with memory allocation