copy command & null datetime

From: "Ken J(dot) Wright" <ken(at)ori-ind(dot)com>
To: pgsql-interfaces(at)postgreSQL(dot)org
Subject: copy command & null datetime
Date: 1999-03-08 03:07:53
Message-ID: 3.0.32.19990307190751.0088d650@ren.cncware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

The following example will cause COPY to fail on input:

xxx|yyy|zzz||aaa|bbb|

where the empty field in between zzz & aaa is of type datetime (don't know
about other types). I know a \N will fix this, but interpreting an empty
import field as NULL would certainly beef up COPY as other database systems
don't output the \N which is unique to PostgreSQL. Wish list item?

Ken

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Brett W. McCoy 1999-03-08 05:49:58 Re: [INTERFACES] copy command & null datetime
Previous Message Ken J. Wright 1999-03-08 03:00:29 outer joins