Re: Table-level log_autovacuum_min_duration - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Table-level log_autovacuum_min_duration
Date
Msg-id CAB7nPqTp+1CTzJchBtRxcHq2=uUYe+2aYqM0ijukSF6kKKf-4A@mail.gmail.com
Whole thread Raw
In response to Re: Table-level log_autovacuum_min_duration  (Naoya Anzai <anzai-naoya@mxu.nes.nec.co.jp>)
Responses Re: Table-level log_autovacuum_min_duration  (Naoya Anzai <anzai-naoya@mxu.nes.nec.co.jp>)
List pgsql-hackers
On Tue, Feb 17, 2015 at 5:16 PM, Naoya Anzai wrote:
> I found that definition of VERBOSE and log_autovacuum is not
> pretty match. For example, "VERBOSE" can output logs of
> scanning indices and scanning detail of analyze, but
> log_autovacuum can't output them.
> [...]

Doh. I forgot to add !IsAutoVacuumWorkerProcess() in the checks with
VACOPT_VERBOSE that I previously removed...

> And, in this v7 patch looks that VERBOSE log is always output
> in INFO-Level when log_autovacuum_min_duration is set to 0.
> Is this your point?

That's my bug, fixed in the attached.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: David Steele
Date:
Subject: Re: pgaudit - an auditing extension for PostgreSQL
Next
From: Oskari Saarenmaa
Date:
Subject: Re: __attribute__ for non-gcc compilers