Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1137581

Browse files
nbtree: Fix obsolete _bt_search() comment.
Oversight in commit d2086b0.
1 parent 8b6d94c commit 1137581

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/access/nbtree/nbtsearch.c

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

0 commit comments

Comments
 (0)