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

Function ExecEndGatherMerge

src/backend/executor/nodeGatherMerge.c:288–296  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

286 * ----------------------------------------------------------------
287 */
288void
289ExecEndGatherMerge(GatherMergeState *node)
290{
291 ExecEndNode(outerPlanState(node)); /* let children clean up first */
292 ExecShutdownGatherMerge(node);
293 ExecFreeExprContext(&node->ps);
294 if (node->ps.ps_ResultTupleSlot)
295 ExecClearTuple(node->ps.ps_ResultTupleSlot);
296}
297
298/* ----------------------------------------------------------------
299 * ExecShutdownGatherMerge

Callers 1

ExecEndNodeFunction · 0.85

Calls 4

ExecEndNodeFunction · 0.85
ExecShutdownGatherMergeFunction · 0.85
ExecFreeExprContextFunction · 0.85
ExecClearTupleFunction · 0.85

Tested by

no test coverage detected