Initialize myProcLocks queues just once, at postmaster startup.
Robert Haas <rhaas@postgresql.org>
Initialize myProcLocks queues just once, at postmaster startup. In assert-enabled builds, we assert during the shutdown sequence that the queues have been properly emptied, and during process startup that we are inheriting empty queues. In non-assert enabled builds, we just save a few cycles.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/lmgr/proc.c | modified | +41 −11 |