Fix incorrect and inconsistent comments in tableam.h and heapam.c. This commit corrects several issues in function comments:
* The parameter "rel" was incorrectly referred to as "relation" in the comments for table_tuple_delete(), table_tuple_update(), and table_tuple_lock(). * In table_tuple_delete(), "changingPart" was listed as an output parameter in the comments but is actually input. * In table_tuple_update(), "slot" was listed as an input parameter in the comments but is actually output. * The comment for "update_indexes" in table_tuple_update() was mis-indented. * The comments for heap_lock_tuple() incorrectly referenced a non-existent "tid" parameter. Author: Chao Li <[email protected]> Reviewed-by: Fujii Masao <[email protected]> Discussion: https://postgr.es/m/CAEoWx2nB6Ay8g=ken7l3qbyx_4+slk9xomkv0xzqhr4cty8...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/7fcb32ad023a434e07b7214c1c762ecd410b6969 Modified Files -------------- src/backend/access/heap/heapam.c | 1 - src/include/access/tableam.h | 16 +++++++++------- 2 files changed, 9 insertions(+), 8 deletions(-)
