mirror of
https://github.com/postgres/postgres.git
synced 2025-11-22 12:22:45 +03:00
Update obsolete index scan TID comments.
Oversight in commit c2fe139c20.
This commit is contained in:
@@ -861,8 +861,8 @@ _bt_compare(Relation rel,
|
||||
* qualifications in the scan key. On success exit, the page containing
|
||||
* the current index tuple is pinned but not locked, and data about
|
||||
* the matching tuple(s) on the page has been loaded into so->currPos.
|
||||
* scan->xs_ctup.t_self is set to the heap TID of the current tuple,
|
||||
* and if requested, scan->xs_itup points to a copy of the index tuple.
|
||||
* scan->xs_heaptid is set to the heap TID of the current tuple, and if
|
||||
* requested, scan->xs_itup points to a copy of the index tuple.
|
||||
*
|
||||
* If there are no matching items in the index, we return false, with no
|
||||
* pins or locks held.
|
||||
@@ -1448,9 +1448,9 @@ readcomplete:
|
||||
* but is not locked, and so->currPos.itemIndex identifies which item was
|
||||
* previously returned.
|
||||
*
|
||||
* On successful exit, scan->xs_ctup.t_self is set to the TID of the
|
||||
* next heap tuple, and if requested, scan->xs_itup points to a copy of
|
||||
* the index tuple. so->currPos is updated as needed.
|
||||
* On successful exit, scan->xs_heaptid is set to the TID of the next
|
||||
* heap tuple, and if requested, scan->xs_itup points to a copy of the
|
||||
* index tuple. so->currPos is updated as needed.
|
||||
*
|
||||
* On failure exit (no more tuples), we release pin and set
|
||||
* so->currPos.buf to InvalidBuffer.
|
||||
|
||||
Reference in New Issue
Block a user