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

Function ExecInitScanTupleSlot

src/backend/executor/execTuples.c:1827–1837  ·  view source on GitHub ↗

---------------- * ExecInitScanTupleSlot * ---------------- */

Source from the content-addressed store, hash-verified

1825 * ----------------
1826 */
1827void
1828ExecInitScanTupleSlot(EState *estate, ScanState *scanstate,
1829 TupleDesc tupledesc, const TupleTableSlotOps *tts_ops)
1830{
1831 scanstate->ss_ScanTupleSlot = ExecAllocTableSlot(&estate->es_tupleTable,
1832 tupledesc, tts_ops);
1833 scanstate->ps.scandesc = tupledesc;
1834 scanstate->ps.scanopsfixed = tupledesc != NULL;
1835 scanstate->ps.scanops = tts_ops;
1836 scanstate->ps.scanopsset = true;
1837}
1838
1839/* ----------------
1840 * ExecInitExtraTupleSlot

Callers 15

ExecInitDynamicSeqScanFunction · 0.85
ExecInitTidRangeScanFunction · 0.85
ExecInitWorkTableScanFunction · 0.85
ExecInitDynamicIndexScanFunction · 0.85
ExecInitCustomScanFunction · 0.85
ExecInitCteScanFunction · 0.85
ExecInitSubqueryScanFunction · 0.85

Calls 1

ExecAllocTableSlotFunction · 0.85

Tested by

no test coverage detected