BUG #19802: MERGE into a partitioned table fails with "SubPlan found with no parent plan"

Log in to edit
ID 7586
Title BUG #19802: MERGE into a partitioned table fails with "SubPlan found with no parent plan"
CI (CFBot)
Stats (from CFBot) Patch count: 1, First patch: +1−1, All patches: +1−1
Tags Bugfix
Created 2026-11-04 10:30:23
Last modified 2026-11-04 10:30:23 (18 minutes ago)
Latest email 2026-11-03 13:00:38 (21 hours ago)
Status
PG20-4 (2027-01-01 – 2027-01-31): Needs review
Target version
Authors Tender Wang (tndrwang)
Reviewers Log in to become reviewer
Committer
Links
Emails
BUG #19802: MERGE into a partitioned table fails with "SubPlan found with no parent plan"
First at 2026-10-28 13:04:38 by PG Bug reporting form <noreply at postgresql.org>
Latest at 2026-11-03 13:00:38 by Tender Wang <tndrwang at gmail.com>
Latest attachment (0001-Fix-MERGE-into-partitioned-tables-with-SubPlans-in-U.patch) at 2026-10-29 00:39:04 from Tender Wang <tndrwang at gmail.com>
    Attachment (0001-Fix-MERGE-into-partitioned-tables-with-SubPlans-in-U.patch) at 2026-10-29 00:39:04 from Tender Wang <tndrwang at gmail.com> (Patch: No)
History
When Who What
2026-11-04 10:30:23 Tender Wang (tndrwang) Attached mail thread 19802-ef50a8f1a4b5deee@postgresql.org
2026-11-04 10:30:23 Tender Wang (tndrwang) Created patch record
Log in to edit