aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2016-12-16 15:52:18 -0500
committerRobert Haas <rhaas@postgresql.org>2016-12-16 15:59:56 -0500
commit591ccb66d24258f6d1084343b3c33c96e3e2b36d (patch)
tree0eaf4fdd2cf3501c5ec701190f50c2a391e3a04c
parent93eb619cd35b8adcfe6c86e34ea45d2e8edd322b (diff)
downloadpostgresql-591ccb66d24258f6d1084343b3c33c96e3e2b36d.tar.gz
postgresql-591ccb66d24258f6d1084343b3c33c96e3e2b36d.zip
Fix outdated comment in lwlock.c
Commit 3761fe3c20bb040b15f0e8da58d824631da00caa should have made this change, but didn't. Reported by Álvaro Herrera.
-rw-r--r--src/backend/storage/lmgr/lwlock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/storage/lmgr/lwlock.c b/src/backend/storage/lmgr/lwlock.c
index 4b381e4e0cc..cf6ae885f85 100644
--- 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 that object should be allocated in a backend-lifetime context
+ * routine will save a pointer to the tranche name passed as an argument,
+ * so the name should be allocated in a backend-lifetime context
* (TopMemoryContext, static variable, or similar).
*/
void