Обсуждение: pgsql: Initialize myProcLocks queues just once, at postmaster startup.

Поиск
Список
Период
Сортировка

pgsql: Initialize myProcLocks queues just once, at postmaster startup.

От
Robert Haas
Дата:
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c2891b46a4b04b80e1fe28ad0bfd75b40e97ea3e

Modified Files
--------------
src/backend/storage/lmgr/proc.c |   52 ++++++++++++++++++++++++++++++--------
1 files changed, 41 insertions(+), 11 deletions(-)