mirror of
https://github.com/postgres/postgres.git
synced 2026-04-22 06:37:06 -04:00
Fix outdated comment on MainLWLockArray
It's no longer passed to child processes down via BackendParameters in EXEC_BACKEND mode. Reported-by: Sami Imseih <samimseih@gmail.com> Discussion: https://www.postgresql.org/message-id/CAA5RZ0vPWNMvTBqyH7nqDRrHd6Y4Et5iNqXFuwpbsPOk3cL4rQ@mail.gmail.com
This commit is contained in:
parent
e2ee95233c
commit
bd365b1ae5
1 changed files with 1 additions and 5 deletions
|
|
@ -145,11 +145,7 @@ StaticAssertDecl(lengthof(BuiltinTrancheNames) ==
|
|||
LWTRANCHE_FIRST_USER_DEFINED,
|
||||
"missing entries in BuiltinTrancheNames[]");
|
||||
|
||||
/*
|
||||
* This points to the main array of LWLocks in shared memory. Backends inherit
|
||||
* the pointer by fork from the postmaster (except in the EXEC_BACKEND case,
|
||||
* where we have special measures to pass it down).
|
||||
*/
|
||||
/* Main array of LWLocks in shared memory */
|
||||
LWLockPadded *MainLWLockArray = NULL;
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue