Re: BUG #3326: Invalid lower bound of autovacuum_cost_limit

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: BUG #3326: Invalid lower bound of autovacuum_cost_limit
Дата
Msg-id 20070608150050.GH9071@alvh.no-ip.org
обсуждение исходный текст
Ответ на BUG #3326: Invalid lower bound of autovacuum_cost_limit  ("Galy Lee" <lee.galy@oss.ntt.co.jp>)
Список pgsql-bugs
Galy Lee wrote:

> * Bug-2: 0-cost-limit for autovacuum worker
>
> When autovacuum_max_workers > autovacuum_vacuum_cost_limit, the above
> zero-division error also happened.

Ah, this is a problem in the balance code -- it fails to consider that
the cost limit may be end up being 0 in the integer calculations.  This
patch fixes this problem.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

Вложения

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: BUG #3376: Erro : COMMIT
Следующее
От: "Kevin Neufeld"
Дата:
Сообщение: BUG #3377: pg_dump: No matching tables were found