pgsql: Fix a thinko introduced into CountActiveBackends by a recent

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Fix a thinko introduced into CountActiveBackends by a recent
Дата
Msg-id 20090729155716.CABE675331E@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Fix a thinko introduced into CountActiveBackends by a recent patch:
we should ignore NULL array entries, not non-NULL ones.  This had the
effect of disabling commit_delay, and could have caused a crash in the
rare race condition the patch was intended to fix.

Bug report and diagnosis by Jeff Janes, in bug #4952.

Tags:
----
REL8_4_STABLE

Modified Files:
--------------
    pgsql/src/backend/storage/ipc:
        procarray.c (r1.50 -> r1.50.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/ipc/procarray.c?r1=1.50&r2=1.50.2.1)

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix a thinko introduced into CountActiveBackends by a recent
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix a thinko introduced into CountActiveBackends by a recent