summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Geoghegan2020-03-16 22:51:06 +0000
committerPeter Geoghegan2020-03-16 22:51:06 +0000
commit113758155c11cf993ca0ecee8856e300a2525a30 (patch)
treeb9f5c2bd0284ecaa29cb3e194bb0ebe0c5919dcb /src
parent8b6d94cf6c8319bfd6bebf8b863a5db586c19c3b (diff)
nbtree: Fix obsolete _bt_search() comment.
Oversight in commit d2086b08b02.
Diffstat (limited to 'src')
-rw-r--r--src/backend/access/nbtree/nbtsearch.c4
1 files 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