Subject: Re: file_fdw: Support multi-line HEADER option.

From: Fujii Masao <[email-masked]>
Date: Fri, 9 Jan 2026 19:22:21 +0900

On Fri, Jan 9, 2026 at 5:15 PM Shinya Kato <[email-masked]> wrote:
>
> 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?

+1

Could you add this patch to the next Commitfest? It would be better to
commit it in v19 so that multi-line header support is delivered for
both COPY and file_fdw at the same time.

Regards,

-- 
Fujii Masao