COPY with column list - Mailing list pgsql-patches

From Brent Verner
Subject COPY with column list
Date
Msg-id 20020710061214.GA24579@rcfile.org
Whole thread Raw
Responses Re: COPY with column list  (nconway@klamath.dyndns.org (Neil Conway))
Re: COPY with column list  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: COPY with column list  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
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.

cheers.
  brent

--
"Develop your talent, man, and leave the world something. Records are
really gifts from people. To think that an artist would love you enough
to share his music with anyone is a beautiful thing."  -- Duane Allman

Attachment

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: implementing query timeout
Next
From: sugita@sra.co.jp
Date:
Subject: install-sh patch for Mac OS X