Fix DELETE/UPDATE FOR PORTION OF with rules
Peter Eisentraut <peter@eisentraut.org>
Author:
Peter Eisentraut <peter@eisentraut.org>
Date: 2026-04-27T08:34:06Z
Releases:
19 (unreleased)
Fix DELETE/UPDATE FOR PORTION OF with rules Previously, these test cases would give internal errors or crash. The fix is to add some missing fields of ForPortionOfExpr to expression_tree_walker. Author: jian he <jian.universality@gmail.com> Reviewed-by: Kirill Reshke <reshkekirill@gmail.com> Reviewed-by: Paul A Jungwirth <pj@illuminatedcomputing.com> Discussion: https://postgr.es/m/CACJufxHs1Hs00EqsZ4NbuAjmYzMzjJyP1sAj12Ne=cBsEVmQOA@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/nodes/nodeFuncs.c | modified | +4 −0 |
| src/test/regress/expected/for_portion_of.out | modified | +55 −0 |
| src/test/regress/sql/for_portion_of.sql | modified | +33 −0 |
Discussion
- DELETE/UPDATE FOR PORTION OF with rule system is not working 9 messages · 2026-04-13 → 2026-04-27