OSDN Git Service

Define a new, more extensible syntax for COPY options.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 21 Sep 2009 20:10:21 +0000 (20:10 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 21 Sep 2009 20:10:21 +0000 (20:10 +0000)
commit923413ac6d31826bd599711962ce9cb7d51a997f
tree61538745eb89472649451470ca12011eb5392106
parent0f427dfe5ae26f4b792f4f0b8d235dd60a1d144f
Define a new, more extensible syntax for COPY options.

This is intentionally similar to the recently revised syntax for EXPLAIN
options, ie, (name value, ...).  The old syntax is still supported for
backwards compatibility, but we intend that any options added in future
will be provided only in the new syntax.

Robert Haas, Emmanuel Cecchet
doc/src/sgml/ref/copy.sgml
src/backend/commands/copy.c
src/backend/commands/define.c
src/backend/parser/gram.y
src/test/regress/expected/copy2.out
src/test/regress/sql/copy2.sql