Skip to content

Commit 8b4b566

Browse files
committed
Fix typo in comment
Author: Julien Rouhaud Backpatch-through: 11 Discussion: https://postgr.es/m/20210420121659.odjueyd4rpilorn5@nol
1 parent 7136bf3 commit 8b4b566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/lib/dshash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ dshash_get_hash_table_handle(dshash_table *hash_table)
375375
* the caller must take care to ensure that the entry is not left corrupted.
376376
* The lock mode is either shared or exclusive depending on 'exclusive'.
377377
*
378-
* The caller must not lock a lock already.
378+
* The caller must not hold a lock already.
379379
*
380380
* Note that the lock held is in fact an LWLock, so interrupts will be held on
381381
* return from this function, and not resumed until dshash_release_lock is

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