postgres.git / summary / log / commit / refs

commit    113758155c11cf993ca0ecee8856e300a2525a30
Author:   Peter Geoghegan <pg@bowt.ie>
Date:     Mon Mar 16 22:51:06 2020 +0000
First released in: 13.0

    nbtree: Fix obsolete _bt_search() comment.
    
    Oversight in commit d2086b08b02.


src/backend/access/nbtree/nbtsearch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/access/nbtree/nbtsearch.c b/src/backend/access/nbtree/nbtsearch.c index 7aaa8c17b0d..8ff49ce6d6f 100644 --- a/src/backend/access/nbtree/nbtsearch.c +++ b/src/backend/access/nbtree/nbtsearch.c @@ -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 [parent: 8b6d94cf6c83]