agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix DELETE/UPDATE FOR PORTION OF with rules
Date: Mon, 27 Apr 2026 08:46:10 +0000
Message-ID: <E1wHHbV-0032Hz-1w@gemulon.postgresql.org> (raw)

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

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(+)



Message-ID: <E1wHHbV-0032Hz-1w@gemulon.postgresql.org>
Permalink:  ../E1wHHbV-0032Hz-1w@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wHHbV-0032Hz-1w@gemulon.postgresql.org

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix DELETE/UPDATE FOR PORTION OF with rules
  In-Reply-To: <E1wHHbV-0032Hz-1w@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox