From 5fe5a2cee91117673e04617aeb1a38e305dcd783 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Tue, 29 Mar 2016 15:04:05 -0400 Subject: Allow aggregate transition states to be serialized and deserialized. This is necessary infrastructure for supporting parallel aggregation for aggregates whose transition type is "internal". Such values can't be passed between cooperating processes, because they are just pointers. David Rowley, reviewed by Tomas Vondra and by me. --- src/include/optimizer/pathnode.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include/optimizer/pathnode.h') diff --git a/src/include/optimizer/pathnode.h b/src/include/optimizer/pathnode.h index 1744ff058e8..acc827de488 100644 --- a/src/include/optimizer/pathnode.h +++ b/src/include/optimizer/pathnode.h @@ -171,7 +171,8 @@ extern AggPath *create_agg_path(PlannerInfo *root, const AggClauseCosts *aggcosts, double numGroups, bool combineStates, - bool finalizeAggs); + bool finalizeAggs, + bool serialStates); extern GroupingSetsPath *create_groupingsets_path(PlannerInfo *root, RelOptInfo *rel, Path *subpath, -- cgit v1.2.3