Indicate anti-wraparound autovacuum in log_autovacuum_min_duration

From: Sergei Kornilov <sk(at)zsrv(dot)org>
To: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Indicate anti-wraparound autovacuum in log_autovacuum_min_duration
Date: 2018-07-21 06:38:38
Message-ID: 11587951532155118@sas1-19a94364928d.qloud-c.yandex.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello
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.

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

regards, Sergei

Attachment Content-Type Size
indicate_wraparound_in_log_autovacuum_min_duration_v1.patch text/x-diff 1.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2018-07-21 08:22:50 Re: Indicate anti-wraparound autovacuum in log_autovacuum_min_duration
Previous Message Tom Lane 2018-07-21 05:29:26 Re: Have an encrypted pgpass file