summaryrefslogtreecommitdiff
path: root/src/include/optimizer/pathnode.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2022-07-01 18:39:30 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2022-07-01 18:39:30 -0400
commitf172b11d616e4e440be6b3235721e283e4c16460 (patch)
treefa1099a1b27391429649f5b3de5a1c8c9863a8e4 /src/include/optimizer/pathnode.h
parentf58f1fb6c0f0990558d0859018b31412b1338447 (diff)
Remove no-longer-used parameter for create_groupingsets_path().
numGroups is unused since commit b5635948a; let's get rid of it. XueJing Zhao, reviewed by Richard Guo Discussion: https://postgr.es/m/DM6PR05MB64923CC8B63A2CAF3B2E5D47B7AD9@DM6PR05MB6492.namprd05.prod.outlook.com
Diffstat (limited to 'src/include/optimizer/pathnode.h')
-rw-r--r--src/include/optimizer/pathnode.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/include/optimizer/pathnode.h b/src/include/optimizer/pathnode.h
index d2d46b15df5..635cc0a0a66 100644
--- a/src/include/optimizer/pathnode.h
+++ b/src/include/optimizer/pathnode.h
@@ -233,8 +233,7 @@ extern GroupingSetsPath *create_groupingsets_path(PlannerInfo *root,
List *having_qual,
AggStrategy aggstrategy,
List *rollups,
- const AggClauseCosts *agg_costs,
- double numGroups);
+ const AggClauseCosts *agg_costs);
extern MinMaxAggPath *create_minmaxagg_path(PlannerInfo *root,
RelOptInfo *rel,
PathTarget *target,