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

Function ExecEndSetOp

src/backend/executor/nodeSetOp.c:582–594  ·  view source on GitHub ↗

---------------------------------------------------------------- * ExecEndSetOp * * This shuts down the subplan and frees resources allocated * to this node. * ---------------------------------------------------------------- */

Source from the content-addressed store, hash-verified

580 * ----------------------------------------------------------------
581 */
582void
583ExecEndSetOp(SetOpState *node)
584{
585 /* clean up tuple table */
586 ExecClearTuple(node->ps.ps_ResultTupleSlot);
587
588 /* free subsidiary stuff including hashtable */
589 if (node->tableContext)
590 MemoryContextDelete(node->tableContext);
591 ExecFreeExprContext(&node->ps);
592
593 ExecEndNode(outerPlanState(node));
594}
595
596
597void

Callers 1

ExecEndNodeFunction · 0.85

Calls 3

ExecClearTupleFunction · 0.85
ExecFreeExprContextFunction · 0.85
ExecEndNodeFunction · 0.85

Tested by

no test coverage detected