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

Function ExecInitSeqScan

src/backend/executor/nodeSeqscan.c:162–174  ·  view source on GitHub ↗

---------------------------------------------------------------- * ExecInitSeqScan * ---------------------------------------------------------------- */

Source from the content-addressed store, hash-verified

160 * ----------------------------------------------------------------
161 */
162SeqScanState *
163ExecInitSeqScan(SeqScan *node, EState *estate, int eflags)
164{
165 Relation currentRelation;
166
167 /*
168 * get the relation object id from the relid'th entry in the range table,
169 * open that relation and acquire appropriate lock on it.
170 */
171 currentRelation = ExecOpenScanRelation(estate, node->scanrelid, eflags);
172
173 return ExecInitSeqScanForPartition(node, estate, currentRelation);
174}
175
176SeqScanState *
177ExecInitSeqScanForPartition(SeqScan *node, EState *estate,

Callers 1

ExecInitNodeFunction · 0.85

Calls 2

ExecOpenScanRelationFunction · 0.85

Tested by

no test coverage detected