Harmonize reorderbuffer parameter names.
commit035ce1feb2ed27680558ebc5cd1455041c8ec3cf
authorPeter Geoghegan <pg@bowt.ie>
Sun, 18 Sep 2022 00:20:17 +0000 (17 17:20 -0700)
committerPeter Geoghegan <pg@bowt.ie>
Sun, 18 Sep 2022 00:20:17 +0000 (17 17:20 -0700)
treef3dfc46d58cf6e9d71d5596c4079ae276faaf661
parent4274dc223ce75b2adf7b7cde5e00df7bbdd2a061
Harmonize reorderbuffer parameter names.

Make reorderbuffer.h function declarations consistently use named
parameters.  Also make sure that the declarations use names that match
corresponding names from function definitions in reorderbuffer.c.  This
makes the definitions easier to follow, especially in the case of
functions that happen to have adjoining arguments of the same type.

This patch was written with help from clang-tidy.  Specifically, its
"readability-inconsistent-declaration-parameter-name" check and its
"readability-named-parameter" check were used.

Author: Peter Geoghegan <pg@bowt.ie>
Discussion: https://postgr.es/m/3955318.1663377656@sss.pgh.pa.us
src/backend/replication/logical/reorderbuffer.c
src/include/replication/reorderbuffer.h