[PATCH v3 1/2] Add header support to "COPY TO" text format

Поиск
Список
Период
Сортировка
От Rémi Lapeyre
Тема [PATCH v3 1/2] Add header support to "COPY TO" text format
Дата
Msg-id 20200717145410.5158-2-remi.lapeyre@lenstra.fr
обсуждение исходный текст
Ответ на Re: [PATCH v2] Allow COPY "text" to output a header and add header matching mode to COPY FROM  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-hackers
CSV format supports the HEADER option to output a header in the output,
it is convenient when other programs need to consume the output. This
patch adds the same option to the default text format.

Discussion:
https://www.postgresql.org/message-id/flat/CAF1-J-0PtCWMeLtswwGV2M70U26n4g33gpe1rcKQqe6wVQDrFA@mail.gmail.com
---
 contrib/file_fdw/input/file_fdw.source  |  1 -
 contrib/file_fdw/output/file_fdw.source |  4 +---
 doc/src/sgml/ref/copy.sgml              |  3 ++-
 src/backend/commands/copy.c             | 11 +++++++----
 src/test/regress/input/copy.source      | 12 ++++++++++++
 src/test/regress/output/copy.source     |  8 ++++++++
 6 files changed, 30 insertions(+), 9 deletions(-)


Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Rémi Lapeyre
Дата:
Сообщение: Add header support to text format and matching feature
Следующее
От: Rémi Lapeyre
Дата:
Сообщение: [PATCH v3 2/2] Add header matching mode to "COPY FROM"