From: | Peter Geoghegan <pg(at)bowt(dot)ie> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Harmonize reorderbuffer parameter names. |
Date: | 2022-09-18 00:21:23 |
Message-ID: | E1oZi3m-000pD8-Gb@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(at)bowt(dot)ie>
Discussion: https://postgr.es/m/3955318.1663377656@sss.pgh.pa.us
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/035ce1feb2ed27680558ebc5cd1455041c8ec3cf
Modified Files
--------------
src/backend/replication/logical/reorderbuffer.c | 6 +--
src/include/replication/reorderbuffer.h | 72 ++++++++++++++-----------
2 files changed, 43 insertions(+), 35 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2022-09-18 04:47:39 | Re: pgsql: Harmonize reorderbuffer parameter names. |
Previous Message | Peter Geoghegan | 2022-09-17 23:55:07 | pgsql: Make check_usermap() parameter names consistent. |