Re: COPY table to file missing quotation marks

Поиск
Список
Период
Сортировка
От Rich Shepard
Тема Re: COPY table to file missing quotation marks
Дата
Msg-id alpine.LNX.2.00.1301311016310.32615@salmo.appl-ecosys.com
обсуждение исходный текст
Ответ на Re: COPY table to file missing quotation marks  (Adrian Klaver <adrian.klaver@gmail.com>)
Ответы Re: COPY table to file missing quotation marks
Список pgsql-general
On Thu, 31 Jan 2013, Adrian Klaver wrote:

> FORCE_QUOTE Forces quoting to be used for all non-NULL values in each
> specified column.  NULL output is never quoted. If * is specified,
> non-NULL values will be quoted in all columns. This option is allowed only
> in COPY TO, and only when using CSV format.

> Use FORCE_QUOTE * to quote all columns.

Adrian,

   That's correct. Most of the columns are numeric so each text column needs
to be specified.

Thanks,

Rich



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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: COPY table to file missing quotation marks
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: COPY table to file missing quotation marks