mirror of
https://github.com/postgres/postgres.git
synced 2026-06-08 16:26:30 -04: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:
parent
93eb619cd3
commit
591ccb66d2
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue