pg.ddx.io pgsql-docs@postgresql.org mailing list archive
help / color / mirror / Atom feedThe options to COPY statement can not be separated with a comma
2+ messages / 2 participants
[nested] [flat]
* The options to COPY statement can not be separated with a comma
@ 2016-11-25 11:28 hvrauhal@gmail.com
2016-11-25 22:51 ` Re: The options to COPY statement can not be separated with a comma Alvaro Herrera <alvherre@2ndquadrant.com>
0 siblings, 1 reply; 2+ messages in thread
From: hvrauhal@gmail.com @ 2016-11-25 11:28 UTC (permalink / raw)
To: pgsql-docs
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 '';`
--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: The options to COPY statement can not be separated with a comma
2016-11-25 11:28 The options to COPY statement can not be separated with a comma hvrauhal@gmail.com
@ 2016-11-25 22:51 ` Alvaro Herrera <alvherre@2ndquadrant.com>
0 siblings, 0 replies; 2+ messages in thread
From: Alvaro Herrera @ 2016-11-25 22:51 UTC (permalink / raw)
To: hvrauhal@gmail.com; +Cc: 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
--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2016-11-25 22:51 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-11-25 11:28 The options to COPY statement can not be separated with a comma hvrauhal@gmail.com
2016-11-25 22:51 ` Alvaro Herrera <alvherre@2ndquadrant.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox