| From: | Michael Paquier <michael(at)paquier(dot)xyz> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Improve autovacuum logging for aggressive and anti-wraparound ru |
| Date: | 2018-09-13 22:39:24 |
| Message-ID: | E1g0aGi-0000uN-Sq@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers pgsql-hackers |
Improve autovacuum logging for aggressive and anti-wraparound runs
A log message was being generated when log_min_duration is reached for
autovacuum on a given relation to indicate if it was an aggressive run,
and missed the point of mentioning if it is doing an anti-wrapround
run. The log message generated is improved so as one, both or no extra
details are added depending on the option set.
Author: Sergei Kornilov
Reviewed-by: Masahiko Sawada, Michael Paquier
Discussion: https://postgr.es/m/11587951532155118@sas1-19a94364928d.qloud-c.yandex.net
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/28a8fa984c63fd525ab03c469f293e957619654b
Modified Files
--------------
src/backend/commands/vacuumlazy.c | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2018-09-14 01:05:47 | pgsql: Allow concurrent-safe open() and fopen() in frontend code for Wi |
| Previous Message | Peter Eisentraut | 2018-09-13 21:38:12 | pgsql: Message style improvements |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2018-09-13 22:39:48 | Re: Indicate anti-wraparound autovacuum in log_autovacuum_min_duration |
| Previous Message | Tom Lane | 2018-09-13 22:29:36 | Re: Consistent segfault in complex query |