mirror of
https://github.com/postgres/postgres.git
synced 2025-11-21 00:42:43 +03:00
Secondary refactor of heap scanning functions
Similar to 44086b097, refactor heap scanning functions to be more
suitable for the read stream API.
Author: Melanie Plageman
Discussion: https://postgr.es/m/CAAKRu_YtXJiYKQvb5JsA2SkwrsizYLugs4sSOZh3EAjKUg=gEQ@mail.gmail.com
This commit is contained in:
@@ -2489,7 +2489,7 @@ heapam_scan_sample_next_tuple(TableScanDesc scan, SampleScanState *scanstate,
|
||||
visible = SampleHeapTupleVisible(scan, hscan->rs_cbuf,
|
||||
tuple, tupoffset);
|
||||
|
||||
/* in pagemode, heapgetpage did this for us */
|
||||
/* in pagemode, heap_prepare_pagescan did this for us */
|
||||
if (!pagemode)
|
||||
HeapCheckForSerializableConflictOut(visible, scan->rs_rd, tuple,
|
||||
hscan->rs_cbuf, scan->rs_snapshot);
|
||||
|
||||
Reference in New Issue
Block a user