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 <[email protected]> Reviewed-by: Kirill Reshke <[email protected]> Reviewed-by: Paul A Jungwirth <[email protected]> Discussion: https://postgr.es/m/CACJufxHs1Hs00EqsZ4NbuAjmYzMzjJyP1sAj12Ne=cbsevm...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/33db6c4baf17e0fdf2ac08f7d050155985c0d7e3 Modified Files -------------- src/backend/nodes/nodeFuncs.c | 4 ++ src/test/regress/expected/for_portion_of.out | 55 ++++++++++++++++++++++++++++ src/test/regress/sql/for_portion_of.sql | 33 +++++++++++++++++ 3 files changed, 92 insertions(+)
