1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

Update obsolete index scan TID comments.

Oversight in commit c2fe139c20.
This commit is contained in:
Peter Geoghegan
2024-03-11 18:07:10 -04:00
parent bbbf71d9a6
commit 3045324214
2 changed files with 8 additions and 8 deletions

View File

@@ -37,8 +37,8 @@ static void _hash_readnext(IndexScanDesc scan, Buffer *bufp,
* be pinned but 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. so->currPos is updated as needed.
* On successful exit, scan->xs_heaptid is set to the TID of the next
* heap tuple. so->currPos is updated as needed.
*
* On failure exit (no more tuples), we return false with pin
* held on bucket page but no pins or locks held on overflow
@@ -279,7 +279,7 @@ _hash_readprev(IndexScanDesc scan,
* overflow page, both pin and lock are released whereas if it is a bucket
* page then it 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.
* scan->xs_heaptid is set to the heap TID of the current tuple.
*
* On failure exit (no more tuples), we return false, with pin held on
* bucket page but no pins or locks held on overflow page.