Re: Indicate anti-wraparound autovacuum inlog_autovacuum_min_duration

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Indicate anti-wraparound autovacuum inlog_autovacuum_min_duration
Дата
Msg-id 20180721082250.GA1799@paquier.xyz
обсуждение исходный текст
Ответ на Indicate anti-wraparound autovacuum in log_autovacuum_min_duration  (Sergei Kornilov <sk@zsrv.org>)
Ответы Re: Indicate anti-wraparound autovacuum in log_autovacuum_min_duration  (Sergei Kornilov <sk@zsrv.org>)
Re: Indicate anti-wraparound autovacuum in log_autovacuum_min_duration  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Sat, Jul 21, 2018 at 09:38:38AM +0300, Sergei Kornilov wrote:
> Currently log_autovacuum_min_duration log message has no difference
> between regular autovacuum and to prevent wraparound autovacuum. There
> are important differences, for example, backend can automatically
> cancel regular autovacuum, but not anti-wraparound. I think it is
> useful indicate anti-wraparound in logs.

Yes, a bit more verbosity would be nice for that.  Using the term
"anti-wraparound" directly in the logs makes the most sense?

> Small patch attached. I am not sure can be anti-wraparound autovacuum
> not aggressive, so i leave all 4 variants.

The patch could be made simpler by using empty strings with a single
ereport() call.
--
Michael

Вложения

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

Предыдущее
От: Sergei Kornilov
Дата:
Сообщение: Indicate anti-wraparound autovacuum in log_autovacuum_min_duration
Следующее
От: Sergei Kornilov
Дата:
Сообщение: Re: Indicate anti-wraparound autovacuum in log_autovacuum_min_duration