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

From Japin Li
Subject Re: file_fdw: Support multi-line HEADER option.
Date
Msg-id MEAPR01MB3031C2D7EC0BF805A894FE1EB682A@MEAPR01MB3031.ausprd01.prod.outlook.com
Whole thread Raw
In response to file_fdw: Support multi-line HEADER option.  (Shinya Kato <shinya11.kato@gmail.com>)
List pgsql-hackers
On Fri, 09 Jan 2026 at 21:57, Shinya Kato <shinya11.kato@gmail.com> wrote:
> On Fri, Jan 9, 2026 at 7:22 PM Fujii Masao <masao.fujii@gmail.com> wrote:
>> > Thoughts?
>>
>> +1
>
> Thank you for the review!
>
>> 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.
>
> Yeah, this feature is targeted for v19. I've added it to the next Commitfest.
> https://commitfest.postgresql.org/patch/6383/
>

A minor nitpick:

+  or a numeric line count for <literal>HEADER</literal>) to enable the desired
+  behavior.

s/numeric/non-negative integer/

More precise: excludes negative values & clarifies it's an integer.

--
Regards,
Japin Li
ChengDu WenWu Information Technology Co., Ltd.



pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: docs: clarify ALTER TABLE behavior on partitioned tables
Next
From: Nathan Bossart
Date:
Subject: Re: improve performance of pg_dump with many sequences