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

Simon Muller <samullers@gmail.com>

From: Simon Muller <samullers@gmail.com>
To: pgsql-hackers@postgresql.org
Date: 2018-07-10T18:51:00Z
Lists: pgsql-hackers

Attachments

On 4 July 2018 at 22:44, Simon Muller <samullers@gmail.com> wrote:

> I noticed through the patch tester link at http://commitfest.cputube.org/
> that my patch caused a file_fdw test to fail (since I previously tested
> only with "make check" and not with "make check-world").
>
> This v2 patch should fix that.
>

This patch just fixes a newline issue introduced in my previous patch.

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"