Fix violation of principle that plan trees are read-only

Edit
ID 5767
Title Fix violation of principle that plan trees are read-only
CI (CFBot) Summary
Stats (from CFBot) Patch version: v1, Patch count: 1, First patch: +41−33, All patches: +41−33
Topic Miscellaneous
Created 2025-05-21 16:07:04
Last modified 2025-05-22 18:29:20 (1 week ago)
Latest email 2025-05-21 16:05:58 (1 week ago)
Status
2025-07: Committed
Target version 18
Authors Tom Lane (tgl)
Reviewers Become reviewer
Committer Tom Lane (tgl)
Links
Emails
Violation of principle that plan trees are read-only
First at 2025-05-18 23:31:33 by Tom Lane <tgl at sss.pgh.pa.us>
Latest at 2025-05-21 16:05:58 by Tom Lane <tgl at sss.pgh.pa.us>
Latest attachment (v1-0001-In-ExecInitModifyTable-don-t-scribble-on-the-sour.patch) at 2025-05-21 16:05:58 from Tom Lane <tgl at sss.pgh.pa.us>
    Attachment (v1-0001-In-ExecInitModifyTable-don-t-scribble-on-the-sour.patch) at 2025-05-21 16:05:58 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (repro-dml-returning.sql) at 2025-05-20 20:40:34 from Andres Freund <andres at anarazel.de> (Patch: No)
    Attachment (remove-unnecessary-plan-tree-modification.patch) at 2025-05-20 17:04:46 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
History
When Who What
2025-05-22 18:29:20 Tom Lane (tgl) Closed in commitfest 2025-07 with status: Committed
2025-05-22 18:29:20 Tom Lane (tgl) Changed committer to tgl
2025-05-21 16:07:05 Tom Lane (tgl) Attached mail thread 213261.1747611093@sss.pgh.pa.us
2025-05-21 16:07:04 Tom Lane (tgl) Created patch record
Edit