pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Álvaro Herrera <alvherre@kurilemu.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Give an 'options' parameter to tuple_delete/_update
Date: Wed, 01 Apr 2026 18:27:23 +0000
Message-ID: <E1w80Hi-002Uka-2R@gemulon.postgresql.org> (raw)

Give an 'options' parameter to tuple_delete/_update

The tuple_insert() method already has an equivalent argument, so this
makes sense just on consistency grounds, for future growth.

table_delete() can immediately use it to carry the 'changingPart'
boolean; for table_update we don't have any options at present.

Author: Álvaro Herrera <alvherre@kurilemu.de>
Reviewed-by: Nathan Bossart <nathandbossart@gmail.com> (older version)
Reviewed-by: Zsolt Parragi <zsolt.parragi@percona.com>
Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Reviewed-by: Antonin Houska <ah@cybertec.at>
Discussion: https://postgr.es/m/202603171606.kf6pmhscqbqz@alvherre.pgsql

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/db89a47115f0c7e664832f4b41cb03130b8a4fbe

Modified Files
--------------
src/backend/access/heap/heapam.c         | 16 ++++++++++------
src/backend/access/heap/heapam_handler.c | 13 ++++++++-----
src/backend/access/table/tableam.c       |  6 +++---
src/backend/executor/nodeModifyTable.c   |  9 +++++++--
src/include/access/heapam.h              |  7 ++++---
src/include/access/tableam.h             | 30 ++++++++++++++++++++----------
6 files changed, 52 insertions(+), 29 deletions(-)



Message-ID: <E1w80Hi-002Uka-2R@gemulon.postgresql.org>
Permalink:  ../E1w80Hi-002Uka-2R@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1w80Hi-002Uka-2R@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: alvherre@kurilemu.de, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Give an 'options' parameter to tuple_delete/_update
  In-Reply-To: <E1w80Hi-002Uka-2R@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