Harmonize heapam and tableam parameter names.
commit4bac9600f09a9b9ba7daa3ba69495a877f51e6c3
authorPeter Geoghegan <pg@bowt.ie>
Mon, 19 Sep 2022 23:46:23 +0000 (19 16:46 -0700)
committerPeter Geoghegan <pg@bowt.ie>
Mon, 19 Sep 2022 23:46:23 +0000 (19 16:46 -0700)
tree393793229287ddc1973e73865a1f634415723971
parentcb8ff7ed5ac907a4a574413f3e46a3522d7b164c
Harmonize heapam and tableam parameter names.

Make sure that function declarations use names that exactly match the
corresponding names from function definitions.  Having parameter names
that are reliably consistent in this way will make it easier to reason
about groups of related C functions from the same translation unit as a
module.  It will also make certain refactoring tasks easier.

Like other recent commits that cleaned up function parameter names, this
commit was written with help from clang-tidy.  Later commits will do the
same for other parts of the codebase.

Author: Peter Geoghegan <pg@bowt.ie>
Reviewed-By: David Rowley <dgrowleyml@gmail.com>
Discussion: https://postgr.es/m/CAH2-WznJt9CMM9KJTMjJh_zbL5hD9oX44qdJ4aqZtjFi-zA3Tg@mail.gmail.com
14 files changed:
src/backend/access/common/heaptuple.c
src/backend/access/heap/heapam.c
src/backend/access/heap/heapam_visibility.c
src/backend/access/heap/visibilitymap.c
src/backend/access/table/tableam.c
src/backend/access/transam/multixact.c
src/include/access/heapam.h
src/include/access/heapam_xlog.h
src/include/access/htup_details.h
src/include/access/multixact.h
src/include/access/rewriteheap.h
src/include/access/tableam.h
src/include/commands/cluster.h
src/include/replication/snapbuild.h