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

Function table_rescan_set_params

src/include/access/tableam.h:1218–1225  ·  view source on GitHub ↗

* Restart a relation scan after changing params. * * This call allows changing the buffer strategy, syncscan, and pagemode * options before starting a fresh scan. Note that although the actual use of * syncscan might change (effectively, enabling or disabling reporting), the * previously selected startblock will be kept. */

Source from the content-addressed store, hash-verified

1216 * previously selected startblock will be kept.
1217 */
1218static inline void
1219table_rescan_set_params(TableScanDesc scan, struct ScanKeyData *key,
1220 bool allow_strat, bool allow_sync, bool allow_pagemode)
1221{
1222 scan->rs_rd->rd_tableam->scan_rescan(scan, key, true,
1223 allow_strat, allow_sync,
1224 allow_pagemode);
1225}
1226
1227/*
1228 * Update snapshot used by the scan.

Callers 1

tablesample_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected