279
279
pgstattuple_type stat = {0};
282
281
/* Disable syncscan because we assume we scan from block zero upwards */
283
282
scan = heap_beginscan_strat(rel, SnapshotAny, 0, NULL, true, false);
285
284
nblocks = scan->rs_nblocks; /* # blocks to be scanned */
292
287
while ((tuple = heap_getnext(scan, ForwardScanDirection)) != NULL)