| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Fix DELETE/UPDATE FOR PORTION OF with rules |
| Date: | 2026-04-27 08:46:10 |
| Message-ID: | E1wHHbV-0032Hz-1w@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(dot)universality(at)gmail(dot)com>
Reviewed-by: Kirill Reshke <reshkekirill(at)gmail(dot)com>
Reviewed-by: Paul A Jungwirth <pj(at)illuminatedcomputing(dot)com>
Discussion: https://postgr.es/m/CACJufxHs1Hs00EqsZ4NbuAjmYzMzjJyP1sAj12Ne=cBsEVmQOA@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(+)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Álvaro Herrera | 2026-04-27 16:23:49 | pgsql: REPACK CONCURRENTLY: Don't use deferrable primary keys |
| Previous Message | Michael Paquier | 2026-04-27 07:18:05 | pgsql: doc: Fix grammar in some logical replication pages |