Re: Allow COPY's 'text' format to output a header

Simon Muller <samullers@gmail.com>

From: Simon Muller <samullers@gmail.com>
To: Stephen Frost <sfrost@snowman.net>
Cc: Cynthia Shang <cynthia.shang@crunchydata.com>, Daniel Verite <daniel@manitou-mail.org>, pgsql-hackers@postgresql.org
Date: 2018-08-08T18:57:33Z
Lists: pgsql-hackers

Attachments

On 6 August 2018 at 16:34, Stephen Frost <sfrost@snowman.net> wrote:

> Greetings,
>
> * Cynthia Shang (cynthia.shang@crunchydata.com) wrote:
> > I was able to apply the patch (after resolving a merge conflict which
> was expected given an update in master). All looks good.
>
> If there's a merge conflict against master, then it'd be good for an
> updated patch to be posted.
>
> Thanks!
>
> Stephen
>

Attached is an updated patch that should directly apply against current
master.

--
Simon Muller

Commits

  1. Fix two issues with HEADER MATCH in COPY

  2. Add header matching mode to COPY FROM

  3. Add HEADER support to COPY text format

  4. Fix handling of redundant options with COPY for "freeze" and "header"