Commit 591ccb66 authored by Robert Haas's avatar Robert Haas

Fix outdated comment in lwlock.c

Commit 3761fe3c should have made
this change, but didn't.

Reported by Álvaro Herrera.
parent 93eb619c
...@@ -581,8 +581,8 @@ LWLockNewTrancheId(void) ...@@ -581,8 +581,8 @@ LWLockNewTrancheId(void)
/* /*
* Register a tranche ID in the lookup table for the current process. This * 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, * routine will save a pointer to the tranche name passed as an argument,
* so that object should be allocated in a backend-lifetime context * so the name should be allocated in a backend-lifetime context
* (TopMemoryContext, static variable, or similar). * (TopMemoryContext, static variable, or similar).
*/ */
void void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment