* results for a non-MVCC snapshot, the caller must hold some higher-level
* lock that ensures the interesting tuple(s) won't change.)
*/
- if (!is_rescan)
+ if (!keep_startblock)
scan->rs_nblocks = RelationGetNumberOfBlocks(scan->rs_rd);
/*
_outScanInfo(str, (const Scan *) node);
}
-static void
-_outSampleScan(StringInfo str, const SampleScan *node)
-{
- WRITE_NODE_TYPE("SAMPLESCAN");
-
- _outScanInfo(str, (const Scan *) node);
-
- WRITE_NODE_FIELD(tablesample);
-}
-
static void
_outIndexScan(StringInfo str, const IndexScan *node)
{
return_value = _readScan();
else if (MATCH("SEQSCAN", 7))
return_value = _readSeqScan();
- else if (MATCH("SAMPLESCAN", 10))
- return_value = _readSampleScan();
else if (MATCH("INDEXSCAN", 9))
return_value = _readIndexScan();
else if (MATCH("INDEXONLYSCAN", 13))