nbtree: Fix obsolete _bt_search() comment.

Oversight in commit d2086b08b02.
This commit is contained in:
Peter Geoghegan 2020-03-16 15:51:06 -07:00
parent 8b6d94cf6c
commit 113758155c

View File

@ -83,8 +83,8 @@ _bt_drop_lock_and_maybe_pin(IndexScanDesc scan, BTScanPos sp)
* but it can omit the rightmost column(s) of the index.
*
* Return value is a stack of parent-page pointers. *bufP is set to the
* address of the leaf-page buffer, which is read-locked and pinned.
* No locks are held on the parent pages, however!
* address of the leaf-page buffer, which is locked and pinned. No locks
* are held on the parent pages, however!
*
* If the snapshot parameter is not NULL, "old snapshot" checking will take
* place during the descent through the tree. This is not needed when