projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93eb619
)
Fix outdated comment in lwlock.c
author
Robert Haas
<rhaas@postgresql.org>
Fri, 16 Dec 2016 20:52:18 +0000
(15:52 -0500)
committer
Robert Haas
<rhaas@postgresql.org>
Fri, 16 Dec 2016 20:59:56 +0000
(15:59 -0500)
Commit
3761fe3c20bb040b15f0e8da58d824631da00caa
should have made
this change, but didn't.
Reported by Álvaro Herrera.
src/backend/storage/lmgr/lwlock.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/storage/lmgr/lwlock.c
b/src/backend/storage/lmgr/lwlock.c
index 4b381e4e0cc7a73ab8995d3ca77d3abbd2a0c4d0..cf6ae885f85e50e5c9800ccfac491e8b32a1aef8 100644
(file)
--- a/
src/backend/storage/lmgr/lwlock.c
+++ b/
src/backend/storage/lmgr/lwlock.c
@@
-581,8
+581,8
@@
LWLockNewTrancheId(void)
/*
* Register a tranche ID in the lookup table for the current process. This
- * routine will save a pointer to the tranche
object
passed as an argument,
- * so th
at object
should be allocated in a backend-lifetime context
+ * routine will save a pointer to the tranche
name
passed as an argument,
+ * so th
e name
should be allocated in a backend-lifetime context
* (TopMemoryContext, static variable, or similar).
*/
void