Re: COPY WITH CSV FORCE QUOTE *

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: COPY WITH CSV FORCE QUOTE *
Дата
Msg-id 4A5F797F.4040508@agliodbs.com
обсуждение исходный текст
Ответ на Re: COPY WITH CSV FORCE QUOTE *  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: COPY WITH CSV FORCE QUOTE *  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew,

> FORCE NOT NULL is in any case a fairly blunt instrument - it doesn't
> work for a column of any type that doesn't accept an empty string as
> valid input, such as numeric types.

Con: this allows COPY to produce output which cannot be reloaded into 
PostgreSQL.

Pro: there is a lot of extremely broken external software which expects 
"nulls" to be expressed as "".  This improves compatiblity with them.


-- 
Josh Berkus
PostgreSQL Experts Inc.
www.pgexperts.com


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [GENERAL] pg_migrator not setting values of sequences?
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: pg_stat_activity.application_name