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

Function ExecEndCustomScan

src/backend/executor/nodeCustom.c:118–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118void
119ExecEndCustomScan(CustomScanState *node)
120{
121 Assert(node->methods->EndCustomScan != NULL);
122 node->methods->EndCustomScan(node);
123
124 /* Free the exprcontext */
125 ExecFreeExprContext(&node->ss.ps);
126
127 /* Clean out the tuple table */
128 ExecClearTuple(node->ss.ps.ps_ResultTupleSlot);
129 ExecClearTuple(node->ss.ss_ScanTupleSlot);
130}
131
132void
133ExecReScanCustomScan(CustomScanState *node)

Callers 1

ExecEndNodeFunction · 0.85

Calls 2

ExecFreeExprContextFunction · 0.85
ExecClearTupleFunction · 0.85

Tested by

no test coverage detected