]> granicus.if.org Git - postgresql/commit
Initialize myProcLocks queues just once, at postmaster startup.
authorRobert Haas <rhaas@postgresql.org>
Wed, 2 Nov 2011 02:44:54 +0000 (22:44 -0400)
committerRobert Haas <rhaas@postgresql.org>
Wed, 2 Nov 2011 02:44:54 +0000 (22:44 -0400)
commitc2891b46a4b04b80e1fe28ad0bfd75b40e97ea3e
tree8e7c3eb079cc762c4f16729a80d004999502c8e9
parent391af9f7842ba8b8d2195aaf82879662434b97f3
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.
src/backend/storage/lmgr/proc.c