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

Function table_rescan_tidrange

src/include/access/tableam.h:1281–1290  ·  view source on GitHub ↗

* table_rescan_tidrange resets the scan position and sets the minimum and * maximum TID range to scan for a TableScanDesc created by * table_beginscan_tidrange. */

Source from the content-addressed store, hash-verified

1279 * table_beginscan_tidrange.
1280 */
1281static inline void
1282table_rescan_tidrange(TableScanDesc sscan, ItemPointer mintid,
1283 ItemPointer maxtid)
1284{
1285 /* Ensure table_beginscan_tidrange() was used. */
1286 Assert((sscan->rs_flags & SO_TYPE_TIDRANGESCAN) != 0);
1287
1288 sscan->rs_rd->rd_tableam->scan_rescan(sscan, NULL, false, false, false, false);
1289 sscan->rs_rd->rd_tableam->scan_set_tidrange(sscan, mintid, maxtid);
1290}
1291
1292/*
1293 * Fetch the next tuple from `sscan` for a TID range scan created by

Callers 1

TidRangeNextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected