1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-03 20:02:46 +03:00

Avoid aggregating worker instrumentation multiple times.

Amit Kapila, per design ideas from me.
This commit is contained in:
Robert Haas
2015-11-18 12:35:25 -05:00
parent adeee97486
commit 166b61a88e
3 changed files with 16 additions and 11 deletions

View File

@ -456,11 +456,7 @@ ExecReScanGather(GatherState *node)
node->initialized = false;
if (node->pei)
{
ReinitializeParallelDSM(node->pei->pcxt);
node->pei->tqueue =
ExecParallelReinitializeTupleQueues(node->pei->pcxt);
}
ExecParallelReinitialize(node->pei);
ExecReScan(node->ps.lefttree);
}