date format problem

From: Bill Barnes <bbarnes(at)operamail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: date format problem
Date: 2000-04-28 12:39:56
Message-ID: 3910452E@operamail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello List:

Using 6.5.3 on SuSE 6.4.

Built a table with a date field as type 'datetime'.

I try to copy a text file to the table and get a 'bad date format'
Dates in the text file may be null, but are in the form 1997-12-15.
Have tried several of the date field types with the same result.
The copy executes properly if I redefine the date field to varchar.

Thanks for your help.
Bill Barnes

------------------------------------------------------------
This e-mail has been sent to you courtesy of OperaMail, a
free web-based service from Opera Software, makers of
the award-winning Web Browser - http://www.operasoftware.com
------------------------------------------------------------

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2000-04-28 14:14:02 Hierarchy indicies
Previous Message Maarten Boekhold 2000-04-28 12:04:50 Re: advice on indexing email