pgsql: Update comments for rewriteTargetListIU().

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Update comments for rewriteTargetListIU().
Date: 2021-04-25 22:02:21
Message-ID: E1lampZ-00085z-Vl@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2021-04-26 03:32:54 pgsql: Fix typo in reorderbuffer.c.
Previous Message Noah Misch 2021-04-25 08:08:34 pgsql: Make a test endure log_error_verbosity=verbose.