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
(List *) parse->havingQual,
strat,
new_rollups,
- agg_costs,
- dNumGroups));
+ agg_costs));
return;
}
(List *) parse->havingQual,
AGG_MIXED,
rollups,
- agg_costs,
- dNumGroups));
+ agg_costs));
}
}
(List *) parse->havingQual,
AGG_SORTED,
gd->rollups,
- agg_costs,
- dNumGroups));
+ agg_costs));
}
/*
* 'having_qual' is the HAVING quals if any
* 'rollups' is a list of RollupData nodes
* 'agg_costs' contains cost info about the aggregate functions to be computed
- * 'numGroups' is the estimated total number of groups
*/
GroupingSetsPath *
create_groupingsets_path(PlannerInfo *root,
List *having_qual,
AggStrategy aggstrategy,
List *rollups,
- const AggClauseCosts *agg_costs,
- double numGroups)
+ const AggClauseCosts *agg_costs)
{
GroupingSetsPath *pathnode = makeNode(GroupingSetsPath);
PathTarget *target = rel->reltarget;
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,