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 <[email protected]>
Reviewed-by: Nathan Bossart <[email protected]> (older version)
Reviewed-by: Zsolt Parragi <[email protected]>
Reviewed-by: Chao Li <[email protected]>
Reviewed-by: Antonin Houska <[email protected]>
Discussion: https://postgr.es/m/[email protected]

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

Reply via email to