Harmonize more parameter names in bulk.
commita601366a460f68472bf70c4d94c57baa0a3ed1b2
authorPeter Geoghegan <pg@bowt.ie>
Tue, 20 Sep 2022 20:09:30 +0000 (20 13:09 -0700)
committerPeter Geoghegan <pg@bowt.ie>
Tue, 20 Sep 2022 20:09:30 +0000 (20 13:09 -0700)
treee2dbfff4d642eab7d34661367ec1b4938033c2a8
parentc3382a3c3ccda6df126c95bf37dcc762480c5202
Harmonize more parameter names in bulk.

Make sure that function declarations use names that exactly match the
corresponding names from function definitions in optimizer, parser,
utility, libpq, and "commands" code, as well as in remaining library
code.  Do the same for all code related to frontend programs (with the
exception of pg_dump/pg_dumpall related code).

Like other recent commits that cleaned up function parameter names, this
commit was written with help from clang-tidy.  Later commits will handle
ecpg and pg_dump/pg_dumpall.

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
131 files changed:
src/backend/backup/basebackup.c
src/backend/bootstrap/bootstrap.c
src/backend/commands/event_trigger.c
src/backend/commands/explain.c
src/backend/commands/indexcmds.c
src/backend/commands/lockcmds.c
src/backend/commands/opclasscmds.c
src/backend/commands/schemacmds.c
src/backend/commands/tablecmds.c
src/backend/commands/trigger.c
src/backend/lib/dshash.c
src/backend/lib/integerset.c
src/backend/libpq/be-secure-openssl.c
src/backend/optimizer/geqo/geqo_selection.c
src/backend/optimizer/plan/createplan.c
src/backend/optimizer/plan/planner.c
src/backend/optimizer/util/plancat.c
src/backend/parser/gram.y
src/backend/parser/parse_clause.c
src/backend/parser/parse_utilcmd.c
src/backend/partitioning/partbounds.c
src/backend/postmaster/postmaster.c
src/backend/statistics/extended_stats.c
src/backend/utils/adt/datetime.c
src/backend/utils/adt/geo_ops.c
src/backend/utils/adt/jsonb.c
src/backend/utils/adt/jsonb_util.c
src/backend/utils/adt/jsonpath_exec.c
src/backend/utils/adt/like.c
src/backend/utils/adt/numeric.c
src/backend/utils/adt/rangetypes.c
src/backend/utils/adt/ri_triggers.c
src/backend/utils/adt/timestamp.c
src/backend/utils/adt/xml.c
src/backend/utils/cache/relmapper.c
src/backend/utils/error/elog.c
src/backend/utils/misc/guc.c
src/backend/utils/misc/queryjumble.c
src/backend/utils/sort/tuplesortvariants.c
src/backend/utils/time/snapmgr.c
src/bin/initdb/initdb.c
src/bin/pg_amcheck/pg_amcheck.c
src/bin/pg_basebackup/pg_receivewal.c
src/bin/pg_basebackup/streamutil.h
src/bin/pg_basebackup/walmethods.h
src/bin/pg_rewind/file_ops.h
src/bin/pg_rewind/pg_rewind.h
src/bin/pg_upgrade/info.c
src/bin/pg_upgrade/pg_upgrade.h
src/bin/pg_upgrade/relfilenumber.c
src/bin/pg_verifybackup/pg_verifybackup.c
src/bin/pg_waldump/compat.c
src/bin/pgbench/pgbench.h
src/bin/psql/describe.h
src/bin/scripts/common.h
src/fe_utils/cancel.c
src/include/bootstrap/bootstrap.h
src/include/commands/alter.h
src/include/commands/conversioncmds.h
src/include/commands/matview.h
src/include/commands/policy.h
src/include/commands/publicationcmds.h
src/include/commands/schemacmds.h
src/include/commands/seclabel.h
src/include/commands/sequence.h
src/include/commands/tablecmds.h
src/include/commands/tablespace.h
src/include/commands/trigger.h
src/include/commands/typecmds.h
src/include/common/fe_memutils.h
src/include/common/kwlookup.h
src/include/common/scram-common.h
src/include/fe_utils/cancel.h
src/include/fe_utils/mbprint.h
src/include/fe_utils/parallel_slot.h
src/include/fe_utils/recovery_gen.h
src/include/fe_utils/simple_list.h
src/include/fe_utils/string_utils.h
src/include/foreign/foreign.h
src/include/funcapi.h
src/include/libpq/pqmq.h
src/include/nodes/extensible.h
src/include/nodes/nodes.h
src/include/nodes/params.h
src/include/nodes/pg_list.h
src/include/nodes/value.h
src/include/optimizer/appendinfo.h
src/include/optimizer/clauses.h
src/include/optimizer/cost.h
src/include/optimizer/paths.h
src/include/optimizer/planmain.h
src/include/optimizer/prep.h
src/include/parser/analyze.h
src/include/parser/parse_agg.h
src/include/parser/parse_oper.h
src/include/parser/parse_relation.h
src/include/partitioning/partbounds.h
src/include/pgstat.h
src/include/pgtime.h
src/include/port.h
src/include/postmaster/bgworker.h
src/include/postmaster/syslogger.h
src/include/rewrite/rewriteManip.h
src/include/snowball/libstemmer/header.h
src/include/statistics/extended_stats_internal.h
src/include/statistics/statistics.h
src/include/tcop/cmdtag.h
src/include/tsearch/ts_utils.h
src/include/utils/acl.h
src/include/utils/attoptcache.h
src/include/utils/builtins.h
src/include/utils/datetime.h
src/include/utils/jsonb.h
src/include/utils/multirangetypes.h
src/include/utils/numeric.h
src/include/utils/pgstat_internal.h
src/include/utils/rangetypes.h
src/include/utils/regproc.h
src/include/utils/relcache.h
src/include/utils/relmapper.h
src/include/utils/selfuncs.h
src/include/utils/snapmgr.h
src/include/utils/timestamp.h
src/include/utils/tuplesort.h
src/include/utils/xml.h
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/fe-exec.c
src/interfaces/libpq/fe-secure-common.h
src/interfaces/libpq/fe-secure-openssl.c
src/interfaces/libpq/libpq-fe.h
src/pl/plpgsql/src/pl_exec.c