Re: Unifying VACUUM VERBOSE and log_autovacuum_min_duration output
От | Peter Geoghegan |
---|---|
Тема | Re: Unifying VACUUM VERBOSE and log_autovacuum_min_duration output |
Дата | |
Msg-id | CAH2-Wzkqta=bACjSFq5BEGqaBJakWTr2pJcjVUpE22D0jnDN4A@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Unifying VACUUM VERBOSE and log_autovacuum_min_duration output (Andres Freund <andres@anarazel.de>) |
Ответы |
Re: Unifying VACUUM VERBOSE and log_autovacuum_min_duration output
Re: Unifying VACUUM VERBOSE and log_autovacuum_min_duration output |
Список | pgsql-hackers |
On Sat, Dec 11, 2021 at 12:24 PM Andres Freund <andres@anarazel.de> wrote: > But the ereport is inside an if (verbose), no? Yes -- in order to report aggressiveness in VACUUM VERBOSE. But the autovacuum case still reports verbose-ness, in the same way as it always has -- in that same LOG entry. We don't want to repeat ourselves in the VERBOSE case, which will have already indicated its verboseness in the up-front ereport(). In other words, every distinct case reports on its aggressiveness exactly once per call into lazyvacuum.c. In roughly the same way as it works on HEAD. -- Peter Geoghegan
В списке pgsql-hackers по дате отправления: