pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Update comments for rewriteTargetListIU().
Date: Sun, 25 Apr 2021 22:02:21 +0000
Message-ID: <E1lampZ-00085z-Vl@gemulon.postgresql.org> (raw)

Update comments for rewriteTargetListIU().

This function's behavior for UPDATE on a trigger-updatable view was
justified by analogy to what preptlist.c used to do for UPDATE on
regular tables.  Since preptlist.c hasn't done that since 86dc90056,
that argument is no longer sensible, let alone convincing.  I think
we do still need it to act that way, so update the comment to explain
why.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/08a986966524e522914b96e4398a4bebf942b298

Modified Files
--------------
src/backend/rewrite/rewriteHandler.c | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)



Message-ID: <E1lampZ-00085z-Vl@gemulon.postgresql.org>
Permalink:  ../E1lampZ-00085z-Vl@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lampZ-00085z-Vl@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Update comments for rewriteTargetListIU().
  In-Reply-To: <E1lampZ-00085z-Vl@gemulon.postgresql.org>
  References: <E1lampZ-00085z-Vl@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 DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox