aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorPeter Geoghegan <pg@bowt.ie>2025-04-12 12:07:36 -0400
committerPeter Geoghegan <pg@bowt.ie>2025-04-12 12:07:36 -0400
commita6cab6a78ee58356967a447fa2c6414732856986 (patch)
treecdad19ce29445a4b3c53a041d3f113ae7d61db61 /contrib
parentfdb69dd582427e4976897d544867e65a0e767002 (diff)
downloadpostgresql-a6cab6a78ee58356967a447fa2c6414732856986.tar.gz
postgresql-a6cab6a78ee58356967a447fa2c6414732856986.zip
Harmonize function parameter names for Postgres 18.
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 18 development. 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).
Diffstat (limited to 'contrib')
-rw-r--r--contrib/pg_overexplain/pg_overexplain.c2
-rw-r--r--contrib/postgres_fdw/postgres_fdw.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/pg_overexplain/pg_overexplain.c b/contrib/pg_overexplain/pg_overexplain.c
index 68c40fc98ea..f60049f4ba6 100644
--- a/contrib/pg_overexplain/pg_overexplain.c
+++ b/contrib/pg_overexplain/pg_overexplain.c
@@ -54,7 +54,7 @@ static void overexplain_alias(const char *qlabel, Alias *alias,
ExplainState *es);
static void overexplain_bitmapset(const char *qlabel, Bitmapset *bms,
ExplainState *es);
-static void overexplain_intlist(const char *qlabel, List *intlist,
+static void overexplain_intlist(const char *qlabel, List *list,
ExplainState *es);
static int es_extension_id;
diff --git a/contrib/postgres_fdw/postgres_fdw.c b/contrib/postgres_fdw/postgres_fdw.c
index a7e0cc9f323..331f3fc088d 100644
--- a/contrib/postgres_fdw/postgres_fdw.c
+++ b/contrib/postgres_fdw/postgres_fdw.c
@@ -444,7 +444,7 @@ static void adjust_foreign_grouping_path_cost(PlannerInfo *root,
double retrieved_rows,
double width,
double limit_tuples,
- int *disabled_nodes,
+ int *p_disabled_nodes,
Cost *p_startup_cost,
Cost *p_run_cost);
static bool ec_member_matches_foreign(PlannerInfo *root, RelOptInfo *rel,