pgsql: Disallow the cost balancing code from resulting in a zero cost

Поиск
Список
Период
Сортировка
От alvherre@postgresql.org (Alvaro Herrera)
Тема pgsql: Disallow the cost balancing code from resulting in a zero cost
Дата
Msg-id 20070608212128.A9F199FC035@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Disallow the cost balancing code from resulting in a zero cost limit, which
causes a division-by-zero error in the vacuum code.  This can happen when there
are more workers than cost limit units.

Per report from Galy Lee in
<200705310914.l4V9E6JA094603@wwwmaster.postgresql.org>.

Modified Files:
--------------
    pgsql/src/backend/postmaster:
        autovacuum.c (r1.48 -> r1.49)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/autovacuum.c.diff?r1=1.48&r2=1.49)

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

Предыдущее
От: alvherre@postgresql.org (Alvaro Herrera)
Дата:
Сообщение: pgsql: Avoid passing zero as a value for vacuum_cost_limit, because it's
Следующее
От: eggyknap@pgfoundry.org (User Eggyknap)
Дата:
Сообщение: pgsnmpd - pgsnmpd: Add more documentation