OSDN Git Service

The attached patch (against HEAD) implements
authorBruce Momjian <bruce@momjian.us>
Thu, 18 Jul 2002 04:43:51 +0000 (04:43 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 18 Jul 2002 04:43:51 +0000 (04:43 +0000)
commita90db34b542d9f31582627a0bfa43901811b84b2
treee0ac399fd5a3caddd24ac8c82d24a37deee4305a
parentfc5372e09930766f3559555e19262b4b861f3646
The attached patch (against HEAD) implements

  COPY x (a,d,c,b) from stdin;
  COPY x (a,c) to stdout;

as well as the corresponding changes to pg_dump to use the new
functionality.  This functionality is not available when using
the BINARY option.  If a column is not specified in the COPY FROM
statement, its default values will be used.

In addition to this functionality, I tweaked a couple of the
error messages emitted by the new COPY <options> checks.

Brent Verner
doc/src/sgml/ref/copy.sgml
src/backend/commands/copy.c
src/backend/parser/gram.y
src/backend/rewrite/rewriteHandler.c
src/bin/pg_dump/pg_dump.c
src/include/nodes/parsenodes.h
src/include/rewrite/rewriteHandler.h
src/test/regress/parallel_schedule
src/test/regress/serial_schedule