]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix DELETE/UPDATE FOR PORTION OF with rules
authorPeter Eisentraut <peter@eisentraut.org>
Mon, 27 Apr 2026 08:29:21 +0000 (10:29 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Mon, 27 Apr 2026 08:34:06 +0000 (10:34 +0200)
commit33db6c4baf17e0fdf2ac08f7d050155985c0d7e3
tree66585c02765104f36b468f61b5f24496a65d287f
parent31b9d90f15a57bca72128d512ae7ae624e6b1c93
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
src/backend/nodes/nodeFuncs.c
src/test/regress/expected/for_portion_of.out
src/test/regress/sql/for_portion_of.sql