Fix inconsistent parameter names between prototype and declaration
authorDavid Rowley <[email protected]>
Fri, 15 Jul 2022 03:26:34 +0000 (15:26 +1200)
committerDavid Rowley <[email protected]>
Fri, 15 Jul 2022 03:26:34 +0000 (15:26 +1200)
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

index b6e137cf83fe90bcf3a9bb78d8822015e18eab44..54ab709c67ce5c0605237a6ff8b3d58fadb6d343 100644 (file)
@@ -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,