diff options
author | Magnus Hagander <magnus@hagander.net> | 2021-04-20 14:35:16 +0200 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2021-04-20 14:36:47 +0200 |
commit | 7311fa8a7096b3a00fc39a10c5a20d4cf0564bfa (patch) | |
tree | efffb93e22287b889eccc0697c27b5157cf49269 | |
parent | 4c9298130ae8d4f3ba4149fbda3b95f6c86258d9 (diff) | |
download | postgresql-7311fa8a7096b3a00fc39a10c5a20d4cf0564bfa.tar.gz postgresql-7311fa8a7096b3a00fc39a10c5a20d4cf0564bfa.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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/lib/dshash.c b/src/backend/lib/dshash.c index b2b8fe60e1c..f86b2f97a58 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 |