Re: Change COPY ... ON_ERROR ignore to ON_ERROR ignore_row - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: Change COPY ... ON_ERROR ignore to ON_ERROR ignore_row
Date
Msg-id CAHGQGwGmPc6aHpA5=WxKreiDePiOEitfOFsW2dSo5m81xWXgRA@mail.gmail.com
Whole thread
In response to Re: Change COPY ... ON_ERROR ignore to ON_ERROR ignore_row  (Peter Eisentraut <peter@eisentraut.org>)
Responses Re: Change COPY ... ON_ERROR ignore to ON_ERROR ignore_row
List pgsql-hackers
On Tue, Mar 3, 2026 at 3:38 PM Peter Eisentraut <peter@eisentraut.org> wrote:
> Thanks, committed.

Thanks for committing the patch!

With this change, ON_ERROR = 'set_null' can now be used with foreign tables
backed by file_fdw. However, unlike ON_ERROR = 'ignore', there is currently
no regression test covering this behavior in file_fdw.

How about adding a regression test to ensure that file_fdw works correctly
with ON_ERROR = 'set_null', and to improve test coverage? Patch attached.

Regards,

--
Fujii Masao

Attachment

pgsql-hackers by date:

Previous
From: Eugeny Goryachev
Date:
Subject: [PATCH] intarray: prevent crash in _int_matchsel on invalid query_int input
Next
From: Jacob Champion
Date:
Subject: Re: [PATCH] Add PQgetThreadLock() to expose the Kerberos/Curl mutex