Re: pg_autovacuum vacuum cost variables patch v2

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_autovacuum vacuum cost variables patch v2
Дата
Msg-id 8063.1099004228@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_autovacuum vacuum cost variables patch v2  ("Matthew T. O'Connor" <matthew@zeut.net>)
Ответы Re: pg_autovacuum vacuum cost variables patch v2  ("Matthew T. O'Connor" <matthew@zeut.net>)
Список pgsql-patches
"Matthew T. O'Connor" <matthew@zeut.net> writes:
> +     if(operation == VACUUM_ANALYZE)
> +         update_table_thresholds(dbi, tbl, VACUUM_ANALYZE);
> +     else if(operation == VACUUM_ANALYZE)
> +         update_table_thresholds(dbi, tbl, ANALYZE_ONLY);

Surely that's not right ... are there any third cases here?  Why
not just a one-liner
    update_table_thresholds(dbi, tbl, operation);

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: dblink crash fix
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: rmtree cleanup