This patch adds the possibility to use the "header" option when using COPY with the text format. A todo entry was opened for this and I updated the tests and the documentation. This was previously discussed at https://www.postgresql.org/message-id/flat/CACfv%2BpJ31tesLvncJyP24quo8AE%2BM0GP6p6MEpwPv6yV8%3DsVHQ%40mail.gmail.com
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных