diff options
| author | Robert Haas | 2016-04-12 20:24:55 +0000 |
|---|---|---|
| committer | Robert Haas | 2016-04-12 20:25:55 +0000 |
| commit | deb71fa9713dfe374a74fc58a5d298b5f25da3f5 (patch) | |
| tree | 8fc5617711af56dc7d4ee346b07fb7164b7a921a /src/include | |
| parent | 46d73e0d65eef19e25bb0d31f1e5c23ff40a3444 (diff) | |
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
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/optimizer/clauses.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/optimizer/clauses.h b/src/include/optimizer/clauses.h index 3ab57f155d..1eb1eb4a54 100644 --- a/src/include/optimizer/clauses.h +++ b/src/include/optimizer/clauses.h @@ -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); |
