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

Function ExecShutdownGather

src/backend/executor/nodeGather.c:418–429  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

416 * ----------------------------------------------------------------
417 */
418void
419ExecShutdownGather(GatherState *node)
420{
421 ExecShutdownGatherWorkers(node);
422
423 /* Now destroy the parallel context. */
424 if (node->pei != NULL)
425 {
426 ExecParallelCleanup(node->pei);
427 node->pei = NULL;
428 }
429}
430
431/* ----------------------------------------------------------------
432 * Join Support

Callers 2

ExecShutdownNodeFunction · 0.85
ExecEndGatherFunction · 0.85

Calls 2

ExecParallelCleanupFunction · 0.85

Tested by

no test coverage detected