Skip to content

Commit e4fbd11

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/lib/dshash.c

+1-1
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)