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

Function ExecEndResult

src/backend/executor/nodeResult.c:326–343  ·  view source on GitHub ↗

---------------------------------------------------------------- * ExecEndResult * * frees up storage allocated through C routines * ---------------------------------------------------------------- */

Source from the content-addressed store, hash-verified

324 * ----------------------------------------------------------------
325 */
326void
327ExecEndResult(ResultState *node)
328{
329 /*
330 * Free the exprcontext
331 */
332 ExecFreeExprContext(&node->ps);
333
334 /*
335 * clean out the tuple table
336 */
337 ExecClearTuple(node->ps.ps_ResultTupleSlot);
338
339 /*
340 * shut down subplans
341 */
342 ExecEndNode(outerPlanState(node));
343}
344
345void
346ExecReScanResult(ResultState *node)

Callers 1

ExecEndNodeFunction · 0.85

Calls 3

ExecFreeExprContextFunction · 0.85
ExecClearTupleFunction · 0.85
ExecEndNodeFunction · 0.85

Tested by

no test coverage detected