Re: Allow COPY's 'text' format to output a header - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Allow COPY's 'text' format to output a header
Date
Msg-id 20181002050654.GW11712@paquier.xyz
Whole thread Raw
In response to Re: Allow COPY's 'text' format to output a header  (Michael Paquier <michael@paquier.xyz>)
Responses [PATCH v1] Allow COPY "test" to output a header and add header matching mode to COPY FROM  ("Rémi Lapeyre" <remi.lapeyre@henki.fr>)
List 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

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: row filtering for logical replication
Next
From: Michael Paquier
Date:
Subject: Re: [HACKERS] GSoC 2017: Foreign Key Arrays