]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Harmonize parameter names in pg_dump/pg_dumpall.
authorPeter Geoghegan <pg@bowt.ie>
Thu, 22 Sep 2022 23:41:23 +0000 (16:41 -0700)
committerPeter Geoghegan <pg@bowt.ie>
Thu, 22 Sep 2022 23:41:23 +0000 (16:41 -0700)
commit20e69daa1348f6899fffe3c260bf44293551ee87
treefcbbb66d95d659094cf1c1b3b30d254dfbc3ce05
parent0faf7d933f625eb1668dcaa518b472f722b53a55
Harmonize parameter names in pg_dump/pg_dumpall.

Make sure that function declarations use names that exactly match the
corresponding names from function definitions in pg_dump/pg_dumpall
related code.

Affected code happens to be inconsistent in how it applies conventions
around how Archive and Archive Handle variables are named.  Significant
code churn is required to fully fix those inconsistencies, so take the
least invasive approach possible: treat function definition names as
authoritative, and mechanically adjust corresponding names from function
definitions to match.

Like other recent commits that cleaned up function parameter names, this
commit was written with help from clang-tidy.

Author: Peter Geoghegan <pg@bowt.ie>
Reviewed-By: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/CAH2-Wzmma+vzcO6gr5NYDZ+sx0G14aU-UrzFutT2FoRaisVCUQ@mail.gmail.com
src/bin/pg_dump/common.c
src/bin/pg_dump/pg_backup.h
src/bin/pg_dump/pg_backup_archiver.h
src/bin/pg_dump/pg_backup_custom.c
src/bin/pg_dump/pg_backup_directory.c
src/bin/pg_dump/pg_backup_tar.c
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.h
src/bin/pg_dump/pg_dumpall.c