Re: pg_autovacuum integration attempt #2

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_autovacuum integration attempt #2
Дата
Msg-id 12874.1090078703@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_autovacuum integration attempt #2  ("Matthew T. O'Connor" <matthew@zeut.net>)
Список pgsql-patches
"Matthew T. O'Connor" <matthew@zeut.net> writes:
> What I wanted to do was have GUC prevent autovacuum = true
> when the stats collector is not enabled, reguardless of what is in
> postgresql.conf.

GUC can't do that, but I think you can just hack the boolean variable
during startup --- compare what pgstat.c does with
enable_stats_collector.  (Not very clean, but I think it is okay within
the context of postmaster start.)

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_autovacuum integration attempt #2
Следующее
От: Rod Taylor
Дата:
Сообщение: Re: pg_autovacuum integration attempt #2