Re: The options to COPY statement can not be separated with a comma

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: The options to COPY statement can not be separated with a comma
Дата
Msg-id 20161125225100.xoa25ehbranosunk@alvherre.pgsql
обсуждение исходный текст
Ответ на The options to COPY statement can not be separated with a comma  (hvrauhal@gmail.com)
Список pgsql-docs
hvrauhal@gmail.com wrote:
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/9.5/static/sql-copy.html
> Description:
>
> The documentation describes:
>  [ [ WITH ] ( option [, ...] ) ]
>
> But actually the options are only separated by spaces, for example
> `with CSV HEADER NULL '';`

The documentation describes new-style options, which are enclosed by
parens and separated by commas.  Old-style (pre-9.0) did not have the
comma separators nor parens; those are still supported but should not be
used by new applications.  See "Compatibility" at the bottom of the
page.

--
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: hvrauhal@gmail.com
Дата:
Сообщение: The options to COPY statement can not be separated with a comma
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Documentation does not SSL parameters are postmaster-only