From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | Sergei Kornilov <sk(at)zsrv(dot)org> |
Cc: | PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Indicate anti-wraparound autovacuum in log_autovacuum_min_duration |
Date: | 2018-07-21 08:22:50 |
Message-ID: | 20180721082250.GA1799@paquier.xyz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Sergei Kornilov | 2018-07-21 09:26:06 | Re: Indicate anti-wraparound autovacuum in log_autovacuum_min_duration |
Previous Message | Sergei Kornilov | 2018-07-21 06:38:38 | Indicate anti-wraparound autovacuum in log_autovacuum_min_duration |