mirror of
https://github.com/postgres/postgres.git
synced 2025-04-27 22:56:53 +03:00
Fix outdated comment in lwlock.c
Commit 3761fe3c20bb040b15f0e8da58d824631da00caa should have made this change, but didn't. Reported by Álvaro Herrera.
This commit is contained in:
parent
93eb619cd3
commit
591ccb66d2
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user