From 80ad91ea8cfca6c817034423fc889876217c67af Mon Sep 17 00:00:00 2001 From: David Rowley Date: Fri, 15 Jul 2022 15:26:34 +1200 Subject: [PATCH] Fix inconsistent parameter names between prototype and declaration Noticed while working in this area. This code was introduced in PG15, which is still in beta, so backpatch to there for consistency. Backpatch-through: 15 --- src/include/optimizer/paths.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/optimizer/paths.h b/src/include/optimizer/paths.h index b6e137cf83..54ab709c67 100644 --- a/src/include/optimizer/paths.h +++ b/src/include/optimizer/paths.h @@ -208,7 +208,7 @@ extern int group_keys_reorder_by_pathkeys(List *pathkeys, List **group_clauses); extern List *get_useful_group_keys_orderings(PlannerInfo *root, double nrows, List *path_pathkeys, - List *pathkeys, List *clauses); + List *group_pathkeys, List *group_clauses); extern Path *get_cheapest_path_for_pathkeys(List *paths, List *pathkeys, Relids required_outer, CostSelector cost_criterion,