mirror of
https://github.com/postgres/postgres.git
synced 2025-06-22 02:52:08 +03:00
Fix outdated comment in lwlock.c
Commit 3761fe3c20
should have made
this change, but didn't.
Reported by Álvaro Herrera.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user