mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
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
This commit is contained in:
@@ -3900,8 +3900,7 @@ consider_groupingsets_paths(PlannerInfo *root,
|
||||
(List *) parse->havingQual,
|
||||
strat,
|
||||
new_rollups,
|
||||
agg_costs,
|
||||
dNumGroups));
|
||||
agg_costs));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -4059,8 +4058,7 @@ consider_groupingsets_paths(PlannerInfo *root,
|
||||
(List *) parse->havingQual,
|
||||
AGG_MIXED,
|
||||
rollups,
|
||||
agg_costs,
|
||||
dNumGroups));
|
||||
agg_costs));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4075,8 +4073,7 @@ consider_groupingsets_paths(PlannerInfo *root,
|
||||
(List *) parse->havingQual,
|
||||
AGG_SORTED,
|
||||
gd->rollups,
|
||||
agg_costs,
|
||||
dNumGroups));
|
||||
agg_costs));
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user