copy command & null datetime

Поиск
Список
Период
Сортировка
От Ken J. Wright
Тема copy command & null datetime
Дата
Msg-id 3.0.32.19990307190751.0088d650@ren.cncware.com
обсуждение исходный текст
Ответы Re: [INTERFACES] copy command & null datetime  ("Brett W. McCoy" <bmccoy@lan2wan.com>)
Re: [INTERFACES] copy command & null datetime  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: "Ken J. Wright"
Дата:
Сообщение: outer joins
Следующее
От: "Brett W. McCoy"
Дата:
Сообщение: Re: [INTERFACES] copy command & null datetime