From 8c297dd5f4ff581f7a70c514d1512c22f47989e5 Mon Sep 17 00:00:00 2001 From: David Rowley Date: Fri, 15 Jul 2022 15:27:14 +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,