mirror of
https://github.com/postgres/postgres.git
synced 2025-11-18 02:02:55 +03:00
Fix costing for parallel aggregation.
The original patch kind of ignored the fact that we were doing something different from a costing point of view, but nobody noticed. This patch fixes that oversight. David Rowley
This commit is contained in:
@@ -67,7 +67,8 @@ extern List *make_ands_implicit(Expr *clause);
|
||||
extern PartialAggType aggregates_allow_partial(Node *clause);
|
||||
extern bool contain_agg_clause(Node *clause);
|
||||
extern void count_agg_clauses(PlannerInfo *root, Node *clause,
|
||||
AggClauseCosts *costs);
|
||||
AggClauseCosts *costs, bool finalizeAggs,
|
||||
bool combineStates, bool serialStates);
|
||||
|
||||
extern bool contain_window_function(Node *clause);
|
||||
extern WindowFuncLists *find_window_functions(Node *clause, Index maxWinRef);
|
||||
|
||||
Reference in New Issue
Block a user