Re: [BUGS] fillfactor hides autovacuum parameters in 8.4.0

Поиск
Список
Период
Сортировка
От Itagaki Takahiro
Тема Re: [BUGS] fillfactor hides autovacuum parameters in 8.4.0
Дата
Msg-id 20090820101205.998C.52131E4D@oss.ntt.co.jp
обсуждение исходный текст
Ответы Re: [BUGS] fillfactor hides autovacuum parameters in 8.4.0  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Here is a patch to fix a bug in handling default values in reloptions.
This fix should be applied to HEAD and 8.4.0.

I used 'magic number -1' to propagate "not-specified" information to
autovacuum process. It might look strange because the default value is
out of range of the reloption, but I think it has less impact to the
codes comapred with other solutions (dynamic default values etc.).

> To fix the bug, each field in StdRdOptions should have "not-specified" flag.
> If not specified, autovacuum should use current GUC settings instead of
> reloptions. Is it possible to change the default values of reloptions
> to some magic number (-1 or so) ?

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center


Вложения

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: auto_explain log_verbose causes regression failure
Следующее
От: Robert Haas
Дата:
Сообщение: Re: auto_explain log_verbose causes regression failure