postgres.git / summary / log / commit / refs

commit    591ccb66d24258f6d1084343b3c33c96e3e2b36d
Author:   Robert Haas <rhaas@postgresql.org>
Date:     Fri Dec 16 20:52:18 2016 +0000

    Fix outdated comment in lwlock.c
    
    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 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 [parent: 93eb619cd35b]