Parallel create index(btree).
This commit is contained in:
@ -227,6 +227,7 @@ void initialize_phase(AggState* aggstate, int newphase)
|
||||
sortnode->collations,
|
||||
sortnode->nullsFirst,
|
||||
workMem,
|
||||
NULL,
|
||||
false,
|
||||
maxMem,
|
||||
sortnode->plan.plan_node_id,
|
||||
@ -296,6 +297,7 @@ static void initialize_aggregate(AggState* aggstate, AggStatePerAgg peraggstate,
|
||||
peraggstate->sortCollations[0],
|
||||
peraggstate->sortNullsFirst[0],
|
||||
local_work_mem,
|
||||
NULL,
|
||||
false);
|
||||
} else {
|
||||
peraggstate->sortstates[aggstate->current_set] = tuplesort_begin_heap(peraggstate->evaldesc,
|
||||
@ -305,6 +307,7 @@ static void initialize_aggregate(AggState* aggstate, AggStatePerAgg peraggstate,
|
||||
peraggstate->sortCollations,
|
||||
peraggstate->sortNullsFirst,
|
||||
local_work_mem,
|
||||
NULL,
|
||||
false,
|
||||
max_mem,
|
||||
plan->plan_node_id,
|
||||
|
||||
Reference in New Issue
Block a user