file_fdw: Support multi-line HEADER option. - Mailing list pgsql-hackers

From Shinya Kato
Subject file_fdw: Support multi-line HEADER option.
Date
Msg-id CAOzEurT+iwC47VHPMS+uJ4WSzvOLPsZ2F2_wopm8M7O+CZa3Xw@mail.gmail.com
Whole thread Raw
Responses Re: file_fdw: Support multi-line HEADER option.
List pgsql-hackers
Hi hackers,
(CC: Fujii-san, committer of bc2f348e8)

Commit bc2f348e8[0] introduced multi-line HEADER support for COPY.
However, file_fdw does not yet support it, so I have implemented it in
the attached patch.

Since foreign table options in CREATE/ALTER FOREIGN TABLE are
specified as single-quoted strings, I updated defGetCopyHeaderOption()
to handle string values as well.

Thoughts?

[0] https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=bc2f348e87c02de63647dbe290d64ff088880dbe

--
Best regards,
Shinya Kato
NTT OSS Center

Attachment

pgsql-hackers by date:

Previous
From: Chao Li
Date:
Subject: Re: docs: clarify ALTER TABLE behavior on partitioned tables
Next
From: li carol
Date:
Subject: RE: Wake up autovacuum launcher from postmaster when a worker exits