From 591ccb66d24258f6d1084343b3c33c96e3e2b36d Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Fri, 16 Dec 2016 15:52:18 -0500 Subject: [PATCH] Fix outdated comment in lwlock.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit 3761fe3c20bb040b15f0e8da58d824631da00caa should have made this change, but didn't. Reported by Álvaro Herrera. --- src/backend/storage/lmgr/lwlock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/storage/lmgr/lwlock.c b/src/backend/storage/lmgr/lwlock.c index 4b381e4e0c..cf6ae885f8 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