[BUG] DELETE/UPDATE more than one row in partitioned foreign table

Edit
ID 6770
Title [BUG] DELETE/UPDATE more than one row in partitioned foreign table
CI (CFBot) Summary
Stats (from CFBot) Patch version: v3, Patch count: 2, First patch: +175−0, All patches: +409−74
Tags Bugfix Extensions
Created 2026-05-14 15:05:17
Last modified 2026-05-14 15:05:17 (3 weeks ago)
Latest email 2026-06-05 11:59:17 (5 hours ago)
Status
PG20-1 (2026-07-01 – 2026-07-31): Needs review
Target version
Authors Nikita Malakhov (nmalakh)
Reviewers Become reviewer
Committer
Links
Emails
[(known) BUG] DELETE/UPDATE more than one row in partitioned foreign table
First at 2025-07-18 15:53:14 by Jehan-Guillaume de Rorthais <jgdr at dalibo.com>
Latest at 2026-06-05 11:59:17 by Etsuro Fujita <etsuro.fujita at gmail.com>
Latest attachment (v3-0001-postgres_fdw-Disallow-UPDATE-DELETE-in-problematic-c.patch) at 2026-06-05 11:59:17 from Etsuro Fujita <etsuro.fujita at gmail.com>
    Attachment (v3-0001-postgres_fdw-Disallow-UPDATE-DELETE-in-problematic-c.patch) at 2026-06-05 11:59:17 from Etsuro Fujita <etsuro.fujita at gmail.com> (Patch: Yes)
    Attachment (postgres_fdw-disallow-upddel-in-problematic-cases-v2.patch) at 2026-06-01 10:44:34 from Etsuro Fujita <etsuro.fujita at gmail.com> (Patch: Yes)
    Attachment (v3-0003-teach-fdw-use-remote-tableoid.patch) at 2026-05-14 17:22:55 from Nikita Malakhov <hukutoc at gmail.com> (Patch: Yes)
    Attachment (v2-0002-core-remote-tableoid-param.patch) at 2026-05-14 15:05:41 from Nikita Malakhov <hukutoc at gmail.com> (Patch: Yes)
    Attachment (v1-0003-fdw-del-upd-using-tableoid.patch) at 2026-04-21 11:34:28 from Nikita Malakhov <hukutoc at gmail.com> (Patch: Yes)
    Attachment (postgres_fdw-disallow-upddel-in-problematic-cases-wip.patch) at 2025-07-23 10:38:19 from Etsuro Fujita <etsuro.fujita at gmail.com> (Patch: Yes)
    Attachment (v3-0001-Test-exposing-bug-when-foreign-table-points-to-a-.patch) at 2025-07-18 15:53:14 from Jehan-Guillaume de Rorthais <jgdr at dalibo.com> (Patch: Yes)
History
When Who What
2026-06-05 12:01:41 CFbot Patch does not need rebase anymore
2026-06-01 11:04:23 CFbot Patch needs rebase
2026-05-14 15:05:17 Nikita Malakhov (nmalakh) Attached mail thread 20250718175314.4513c00a@karst
2026-05-14 15:05:17 Nikita Malakhov (nmalakh) Created patch record
Edit