MCPcopy Create free account
hub / github.com/apache/cloudberry / ExecShutdownGatherMerge

Function ExecShutdownGatherMerge

src/backend/executor/nodeGatherMerge.c:304–315  ·  view source on GitHub ↗

---------------------------------------------------------------- * ExecShutdownGatherMerge * * Destroy the setup for parallel workers including parallel context. * ---------------------------------------------------------------- */

Source from the content-addressed store, hash-verified

302 * ----------------------------------------------------------------
303 */
304void
305ExecShutdownGatherMerge(GatherMergeState *node)
306{
307 ExecShutdownGatherMergeWorkers(node);
308
309 /* Now destroy the parallel context. */
310 if (node->pei != NULL)
311 {
312 ExecParallelCleanup(node->pei);
313 node->pei = NULL;
314 }
315}
316
317/* ----------------------------------------------------------------
318 * ExecShutdownGatherMergeWorkers

Callers 2

ExecEndGatherMergeFunction · 0.85
ExecShutdownNodeFunction · 0.85

Calls 2

ExecParallelCleanupFunction · 0.85

Tested by

no test coverage detected