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

Function ExecCteScan

src/backend/executor/nodeCtescan.c:159–167  ·  view source on GitHub ↗

---------------------------------------------------------------- * ExecCteScan(node) * * Scans the CTE sequentially and returns the next qualifying tuple. * We call the ExecScan() routine and pass it the appropriate * access method functions. * ---------------------------------------------------------------- */

Source from the content-addressed store, hash-verified

157 * ----------------------------------------------------------------
158 */
159static TupleTableSlot *
160ExecCteScan(PlanState *pstate)
161{
162 CteScanState *node = castNode(CteScanState, pstate);
163
164 return ExecScan(&node->ss,
165 (ExecScanAccessMtd) CteScanNext,
166 (ExecScanRecheckMtd) CteScanRecheck);
167}
168
169
170/* ----------------------------------------------------------------

Callers

nothing calls this directly

Calls 1

ExecScanFunction · 0.85

Tested by

no test coverage detected