]> granicus.if.org Git - postgresql/commit
Improve autovacuum logging for aggressive and anti-wraparound runs
authorMichael Paquier <michael@paquier.xyz>
Thu, 13 Sep 2018 22:35:39 +0000 (07:35 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 13 Sep 2018 22:35:39 +0000 (07:35 +0900)
commit28a8fa984c63fd525ab03c469f293e957619654b
tree93a6e194710ff1f38b2327e457404869e217a1a8
parentf48fa2bc8b6252ae8fccc69729a3bddb6863b8f1
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
src/backend/commands/vacuumlazy.c