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

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy