pgsql: Only log 'process acquired lock' if we actually did get the lock.

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Only log 'process acquired lock' if we actually did get the lock.
Дата
Msg-id 20070619220115.214319FB717@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Only log 'process acquired lock' if we actually did get the lock.  This
test seems inessential right now since the only control path for not
getting the lock is via CHECK_FOR_INTERRUPTS which won't return control
to ProcSleep, but it would be important if we ever allow the deadlock
code to kill someone else's transaction instead of our own.

Modified Files:
--------------
    pgsql/src/backend/storage/lmgr:
        proc.c (r1.189 -> r1.190)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/lmgr/proc.c.diff?r1=1.189&r2=1.190)

В списке pgsql-committers по дате отправления:

Предыдущее
От: neilc@postgresql.org (Neil Conway)
Дата:
Сообщение: pgsql: Remove duplicate #include.
Следующее
От: pgunittest@pgfoundry.org (User Pgunittest)
Дата:
Сообщение: pgunittest - GeneratorParser: New Directory