Re: log_autovacuum

From: "Simon Riggs" <simon(at)2ndquadrant(dot)com>
To: "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, <pgsql-patches(at)postgresql(dot)org>
Subject: Re: log_autovacuum
Date: 2007-04-17 20:48:48
Message-ID: 1176842929.3635.520.camel@silverbirch.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches pgsql-www

On Tue, 2007-04-17 at 16:41 -0400, Alvaro Herrera wrote:
> Tom Lane wrote:
> > BTW, shouldn't the log entry distinguish whether this was VACUUM,
> > ANALYZE, or both?
>
> We don't actually log anything for ANALYZE (the logging code is in
> lazy_vacuum_rel).

When ANALYZE starts taking some time, we can log it.

> Maybe it should be in autovacuum.c.

Well, I figured if it was the right place for VACUUM it was good enough
for autovacuum too.

--
Simon Riggs
EnterpriseDB http://www.enterprisedb.com

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Alvaro Herrera 2007-04-17 22:18:04 Re: log_autovacuum
Previous Message Alvaro Herrera 2007-04-17 20:41:09 Re: log_autovacuum

Browse pgsql-www by date

  From Date Subject
Next Message Alvaro Herrera 2007-04-17 22:18:04 Re: log_autovacuum
Previous Message Alvaro Herrera 2007-04-17 20:41:09 Re: log_autovacuum