pgsql: Harmonize function parameter names for Postgres 17.

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Harmonize function parameter names for Postgres 17.
Date: 2024-06-12 21:02:20
Message-ID: E1sHV6p-001Etr-US@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Harmonize function parameter names for Postgres 17.

Make sure that function declarations use names that exactly match the
corresponding names from function definitions in a few places. These
inconsistencies were all introduced during Postgres 17 development.

pg_bsd_indent still has a couple of similar inconsistencies, which I
(pgeoghegan) have left untouched for now.

This commit was written with help from clang-tidy, by mechanically
applying the same rules as similar clean-up commits (the earliest such
commit was commit 035ce1fe).

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6207f08f700ddc874765919202727fb0171b5403

Modified Files
--------------
src/backend/access/brin/brin.c | 6 +--
src/backend/access/heap/vacuumlazy.c | 2 +-
src/backend/backup/basebackup_incremental.c | 2 +-
src/backend/backup/basebackup_zstd.c | 2 +-
src/backend/commands/tablecmds.c | 2 +-
src/backend/optimizer/path/joinrels.c | 2 +-
src/backend/parser/parse_expr.c | 6 +--
.../libpqwalreceiver/libpqwalreceiver.c | 2 +-
src/backend/utils/adt/jsonpath_exec.c | 5 +--
src/bin/pg_combinebackup/copy_file.c | 4 +-
src/bin/pg_combinebackup/reconstruct.c | 2 +-
src/bin/pg_dump/pg_dumpall.c | 2 +-
src/bin/pg_dump/pg_restore.c | 2 +-
src/include/access/heapam.h | 2 +-
src/include/common/unicode_case.h | 6 +--
src/include/common/unicode_category.h | 44 +++++++++++-----------
src/include/libpq/libpq.h | 2 +-
src/include/postmaster/postmaster.h | 5 ++-
src/include/storage/bufmgr.h | 2 +-
src/include/storage/fd.h | 6 +--
src/include/storage/read_stream.h | 2 +-
src/include/storage/smgr.h | 4 +-
src/include/utils/guc.h | 4 +-
src/include/utils/jsonpath.h | 2 +-
src/include/utils/pg_locale.h | 4 +-
src/include/utils/resowner.h | 4 +-
src/include/utils/tuplesort.h | 2 +-
27 files changed, 65 insertions(+), 63 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Geoghegan 2024-06-12 22:05:27 pgsql: Harmonize pg_bsd_indent parameter names.
Previous Message Peter Eisentraut 2024-06-12 13:35:05 pgsql: libpq: Add missing gettext markers