Re: pg_autovacuum vacuum cost variables patch v2

Поиск
Список
Период
Сортировка
От Matthew T. O'Connor
Тема Re: pg_autovacuum vacuum cost variables patch v2
Дата
Msg-id 41828824.4070800@zeut.net
обсуждение исходный текст
Ответ на Re: pg_autovacuum vacuum cost variables patch v2  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane wrote:

>"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);
>
>
Whoops....  I think that was both a thinko and a typeo :-)  Yes your one
line will work much better.  I'll submit another patch in a few days,
unless someone beats me to it.

Thanks for fixing that.

Matthew


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Add buffer length setting
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Add buffer length setting