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

Function ExecEndGather

src/backend/executor/nodeGather.c:248–256  ·  view source on GitHub ↗

---------------------------------------------------------------- * ExecEndGather * * frees any storage allocated through C routines. * ---------------------------------------------------------------- */

Source from the content-addressed store, hash-verified

246 * ----------------------------------------------------------------
247 */
248void
249ExecEndGather(GatherState *node)
250{
251 ExecEndNode(outerPlanState(node)); /* let children clean up first */
252 ExecShutdownGather(node);
253 ExecFreeExprContext(&node->ps);
254 if (node->ps.ps_ResultTupleSlot)
255 ExecClearTuple(node->ps.ps_ResultTupleSlot);
256}
257
258/*
259 * Read the next tuple. We might fetch a tuple from one of the tuple queues

Callers 1

ExecEndNodeFunction · 0.85

Calls 4

ExecEndNodeFunction · 0.85
ExecShutdownGatherFunction · 0.85
ExecFreeExprContextFunction · 0.85
ExecClearTupleFunction · 0.85

Tested by

no test coverage detected