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

Function table_beginscan

src/include/access/tableam.h:1018–1026  ·  view source on GitHub ↗

* Start a scan of `rel`. Returned tuples pass a visibility test of * `snapshot`, and if nkeys != 0, the results are filtered by those scan keys. */

Source from the content-addressed store, hash-verified

1016 * `snapshot`, and if nkeys != 0, the results are filtered by those scan keys.
1017 */
1018static inline TableScanDesc
1019table_beginscan(Relation rel, Snapshot snapshot,
1020 int nkeys, struct ScanKeyData *key)
1021{
1022 uint32 flags = SO_TYPE_SEQSCAN |
1023 SO_ALLOW_STRAT | SO_ALLOW_SYNC | SO_ALLOW_PAGEMODE;
1024
1025 return rel->rd_tableam->scan_begin(rel, snapshot, nkeys, key, NULL, flags);
1026}
1027
1028/*
1029 * GPDB: Like table_beginscan(), but first attempt to create a

Callers 15

IndexBuildRangeScanMethod · 0.85
CPaxCopyAllTuplesFunction · 0.85
pgrowlocksFunction · 0.85
DefineQueryRewriteFunction · 0.85
CopyToFunction · 0.85
CopyToDirectoryTableFunction · 0.85
directory_tableFunction · 0.85
AlterDomainNotNullFunction · 0.85
validateDomainConstraintFunction · 0.85
ATRewriteTableFunction · 0.85
pgstat_collect_oidsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected