Re: [PATCH v2] Allow COPY "text" to output a header and add header matching mode to COPY FROM

2020-07-10 Thread Peter Eisentraut
On 2020-07-08 13:45, Rémi Lapeyre wrote: Hi, here's a new version of the patch that should apply cleanly. I'll monitor the status on http://cfbot.cputube.org/ It's hard to find an explanation what this patch actually does. I don't want to have to go through threads dating back 4 months to

Re: [PATCH v2] Allow COPY "text" to output a header and add header matching mode to COPY FROM

2020-07-08 Thread Justin Pryzby
On Wed, Jul 08, 2020 at 03:21:48PM +0200, Daniel Gustafsson wrote: > > On 8 Jul 2020, at 13:45, Rémi Lapeyre wrote: > > > > Hi, here's a new version of the patch that should apply cleanly. I'll > > monitor > > the status on http://cfbot.cputube.org/ > > Please reply to the old thread about

Re: [PATCH v2] Allow COPY "text" to output a header and add header matching mode to COPY FROM

2020-07-08 Thread Rémi Lapeyre
> > Please reply to the old thread about this, as that's the one connected to the > Commitfest entry and thats where all the discussion has happened. While > additional threads can be attached to a CF entry, it's for when multiple > discussions are relevant to a patch, a single discussion should

Re: [PATCH v2] Allow COPY "text" to output a header and add header matching mode to COPY FROM

2020-07-08 Thread Daniel Gustafsson
> On 8 Jul 2020, at 13:45, Rémi Lapeyre wrote: > > Hi, here's a new version of the patch that should apply cleanly. I'll monitor > the status on http://cfbot.cputube.org/ Please reply to the old thread about this, as that's the one connected to the Commitfest entry and thats where all the

[PATCH v2] Allow COPY "text" to output a header and add header matching mode to COPY FROM

2020-07-08 Thread Rémi Lapeyre
Hi, here's a new version of the patch that should apply cleanly. I'll monitor the status on http://cfbot.cputube.org/ Rémi --- contrib/file_fdw/input/file_fdw.source | 7 +- contrib/file_fdw/output/file_fdw.source | 13 ++-- doc/src/sgml/ref/copy.sgml | 9 ++-

[PATCH v2] Allow COPY "text" to output a header and add header matching mode to COPY FROM

2020-03-09 Thread Rémi Lapeyre
Here's a rebased version that should apply cleanly on HEAD. --- contrib/file_fdw/input/file_fdw.source | 7 +- contrib/file_fdw/output/file_fdw.source | 13 ++-- doc/src/sgml/ref/copy.sgml | 9 ++- src/backend/commands/copy.c | 93 ++---