|
|
@ -3158,7 +3158,6 @@ create_agg_path(PlannerInfo *root, |
|
|
|
* 'having_qual' is the HAVING quals if any |
|
|
|
* 'having_qual' is the HAVING quals if any |
|
|
|
* 'rollups' is a list of RollupData nodes |
|
|
|
* 'rollups' is a list of RollupData nodes |
|
|
|
* 'agg_costs' contains cost info about the aggregate functions to be computed |
|
|
|
* 'agg_costs' contains cost info about the aggregate functions to be computed |
|
|
|
* 'numGroups' is the estimated total number of groups |
|
|
|
|
|
|
|
*/ |
|
|
|
*/ |
|
|
|
GroupingSetsPath * |
|
|
|
GroupingSetsPath * |
|
|
|
create_groupingsets_path(PlannerInfo *root, |
|
|
|
create_groupingsets_path(PlannerInfo *root, |
|
|
@ -3167,8 +3166,7 @@ create_groupingsets_path(PlannerInfo *root, |
|
|
|
List *having_qual, |
|
|
|
List *having_qual, |
|
|
|
AggStrategy aggstrategy, |
|
|
|
AggStrategy aggstrategy, |
|
|
|
List *rollups, |
|
|
|
List *rollups, |
|
|
|
const AggClauseCosts *agg_costs, |
|
|
|
const AggClauseCosts *agg_costs) |
|
|
|
double numGroups) |
|
|
|
|
|
|
|
{ |
|
|
|
{ |
|
|
|
GroupingSetsPath *pathnode = makeNode(GroupingSetsPath); |
|
|
|
GroupingSetsPath *pathnode = makeNode(GroupingSetsPath); |
|
|
|
PathTarget *target = rel->reltarget; |
|
|
|
PathTarget *target = rel->reltarget; |
|
|
|