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

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Cynthia Shang <cynthia(dot)shang(at)crunchydata(dot)com>
Cc: Simon Muller <samullers(at)gmail(dot)com>, Stephen Frost <sfrost(at)snowman(dot)net>, Daniel Verite <daniel(at)manitou-mail(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Allow COPY's 'text' format to output a header
Date: 2018-10-02 05:06:54
Message-ID: 20181002050654.GW11712@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Aug 17, 2018 at 01:39:11PM +0900, Michael Paquier wrote:
> The point about the header matching mentioned upthread is quite
> interesting as it could make the proposed feature way more useful, and
> it has not really been discussed. As far as I can see this adds more
> sanity checks in NextCopyFromRawFields(). I'd like to think that this
> should be a completely different option, say CHECK_HEADER, as CSV simply
> skips the header in COPY FROM if specified on HEAD.

It has been a couple of weeks since the last review, which has not been
addressed, so I am marking the patch as returned with feedback.
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2018-10-02 05:13:26 Re: [HACKERS] GSoC 2017: Foreign Key Arrays
Previous Message Michael Paquier 2018-10-02 05:03:15 Re: row filtering for logical replication