pgsql: Fix stale comments/signature after commit 28d534e2ae0a

Started by Alvaro Herrera4 months ago1 messagescommitters
Jump to latest
#1Alvaro Herrera
alvherre@kurilemu.de

Fix stale comments/signature after commit 28d534e2ae0a

Commit db89a47115f0 added an 'options' argument to table_tuple_update()
and table_tuple_delete(), correctly documenting it as recognizing no
values. It also (correctly) added pg_attribute_unused() to the
corresponding heap_update() argument. Commit 28d534e2ae0a then added
TABLE_UPDATE_NO_LOGICAL and TABLE_DELETE_NO_LOGICAL, but failed to
(correctly) update the comment and heap_update()'s signature.

In table_tuple_update(), move the correct explanation of 'options' to
the right place, remove the bogus one.

In table_tuple_delete(), add the missing TABLE_DELETE_NO_LOGICAL doc.

In heap_update(), remove the pg_attribute_unused() marker.

Author: Nikhil Sontakke <nikhil@planetscale.com>
Backpatch-through: 19
Discussion: /messages/by-id/CA+UBoq21SzkjThYMSwSpVU-jwzpuEsf22Hq1FPbcKcDc43C29g@mail.gmail.com

Branch
------
master

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

Modified Files
--------------
src/backend/access/heap/heapam.c | 2 +-
src/include/access/tableam.h | 14 +++++++++-----
2 files changed, 10 insertions(+), 6 deletions(-)