postgres.git / summary / log / commit / refs
commit bf5d1f1e0052100b716f7b7b0934aefb28f72e73
Author: Magnus Hagander <magnus@hagander.net>
Date: Tue Apr 20 12:35:16 2021 +0000
First released in: 14.0, 11.12, 12.7, 13.3
Fix typo in comment
Author: Julien Rouhaud
Backpatch-through: 11
Discussion: https://postgr.es/m/20210420121659.odjueyd4rpilorn5@nol
src/backend/lib/dshash.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/lib/dshash.c b/src/backend/lib/dshash.c
index 78ccf03217f..782b509fd9f 100644
--- a/src/backend/lib/dshash.c
+++ b/src/backend/lib/dshash.c
@@ -375,7 +375,7 @@ dshash_get_hash_table_handle(dshash_table *hash_table)
* the caller must take care to ensure that the entry is not left corrupted.
* The lock mode is either shared or exclusive depending on 'exclusive'.
*
- * The caller must not lock a lock already.
+ * The caller must not hold a lock already.
*
* Note that the lock held is in fact an LWLock, so interrupts will be held on
* return from this function, and not resumed until dshash_release_lock is
[parent: e480c6dd33f4]