Re: COPY command with blank incoming values

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: COPY command with blank incoming values
Дата
Msg-id 9573.1088743228@sss.pgh.pa.us
обсуждение исходный текст
Ответ на COPY command with blank incoming values  (Robert Fitzpatrick <robert@webtent.com>)
Список pgsql-general
Robert Fitzpatrick <robert@webtent.com> writes:
> Does COPY require values for each column even though the database field
> is not set to NOT NULL?

If you want a NULL then you have to write the specified null
representation (which is \N by default, not an empty string).

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: postgresql +AMD64 +big address spaces - does it work?
Следующее
От: mike g
Дата:
Сообщение: Re: Mysterious performance of query because of plsql