Re: pg_autovacuum does not start on system

Поиск
Список
Период
Сортировка
От Matthew T. O'Connor
Тема Re: pg_autovacuum does not start on system
Дата
Msg-id 41F530F9.2020205@tocr.com
обсуждение исходный текст
Ответ на Re: pg_autovacuum does not start on system startup - 8.0 Release -  ("Dave Page" <dpage@vale-housing.co.uk>)
Список pgsql-hackers-win32
Dave Page wrote:

>The problem with that is that with service start taking 3 minutes,
>restarting the service manually could be somewhat annoying for simple
>config changes (bear in mind that the service doesn't report that it is
>running until it has connected successfully to the database). What about
>a command line option to specify a delay? That way the user will know
>about it because they will have specified it?
>

One answer might be to  have pg_autovacuum not be so pessimistic failed
connections.  I wrote it so that pg_autovacuum exits if it fails to
connect.  Perhaps instead, when pg_autovacuum fails to connect it should
sleep for a while and then retry.   Perhaps the best plan would be a new
command line option that when used tells pg_autovacuum to continue to
retry for ever, when not used, it will still work the way it always did.

Matthew


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

Предыдущее
От: "Harald Massa"
Дата:
Сообщение: Re: pg_autovacuum does not start on system startup - 8.0 Release -
Следующее
От: Tom Lane
Дата:
Сообщение: Re: long sql "in" clause crashes server process (8.0 Release)