aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2021-04-20 14:35:16 +0200
committerMagnus Hagander <magnus@hagander.net>2021-04-20 14:35:16 +0200
commit8b4b5669cde2b17bd6b5d68f584d97078f3296ac (patch)
treed11360ae7bf4d1dde9e23bdbb3145806e7a284ff
parent7136bf34f28892362144ae2e350714836a5c0c0c (diff)
downloadpostgresql-8b4b5669cde2b17bd6b5d68f584d97078f3296ac.tar.gz
postgresql-8b4b5669cde2b17bd6b5d68f584d97078f3296ac.zip
Fix typo in comment
Author: Julien Rouhaud Backpatch-through: 11 Discussion: https://postgr.es/m/20210420121659.odjueyd4rpilorn5@nol
-rw-r--r--src/backend/lib/dshash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/lib/dshash.c b/src/backend/lib/dshash.c
index e0c763be326..88ca9d62aab 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