postgres.git / summary / log / commit / refs
commit 402388946fb3ac54f0fd5944d7e177ef7737eab2
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: Wed Jan 31 22:11:53 2024 +0000
First released in: 17.0
Fix copy&paste typo in comment
src/backend/storage/lmgr/lwlock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/storage/lmgr/lwlock.c b/src/backend/storage/lmgr/lwlock.c
index 98fa6035cc5..71677cf0317 100644
--- a/src/backend/storage/lmgr/lwlock.c
+++ b/src/backend/storage/lmgr/lwlock.c
@@ -1903,7 +1903,7 @@ LWLockHeldByMe(LWLock *lock)
}
/*
- * LWLockHeldByMe - test whether my process holds any of an array of locks
+ * LWLockAnyHeldByMe - test whether my process holds any of an array of locks
*
* This is meant as debug support only.
*/
[parent: 936f56988741]