[PATCH v2] Allow COPY "text" to output a header and add header matching mode to COPY FROM - Mailing list pgsql-hackers

From Rémi Lapeyre
Subject [PATCH v2] Allow COPY "text" to output a header and add header matching mode to COPY FROM
Date
Msg-id 20200708114501.56681-1-remi.lapeyre@lenstra.fr
Whole thread Raw
In response to Re: [PATCH v1] Allow COPY "text" to output a header and add header matching mode to COPY FROM  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: [PATCH v2] Allow COPY "text" to output a header and add header matching mode to COPY FROM  (Daniel Gustafsson <daniel@yesql.se>)
Re: [PATCH v2] Allow COPY "text" to output a header and add header matching mode to COPY FROM  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
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 ++-
 src/backend/commands/copy.c             | 93 ++++++++++++++++++++++---
 src/test/regress/input/copy.source      | 71 ++++++++++++++-----
 src/test/regress/output/copy.source     | 58 ++++++++++-----
 6 files changed, 202 insertions(+), 49 deletions(-)


Attachment

pgsql-hackers by date:

Previous
From: Laurenz Albe
Date:
Subject: Add session statistics to pg_stat_database
Next
From: Fujii Masao
Date:
Subject: Re: Modifying data type of slot_keep_segs from XLogRecPtr to XLogSegNo