Improve autovacuum logging for aggressive and anti-wraparound runs
Michael Paquier <michael@paquier.xyz>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/vacuumlazy.c | modified | +13 −3 |
Discussion
- Indicate anti-wraparound autovacuum in log_autovacuum_min_duration 11 messages · 2018-07-21 → 2018-09-14