Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-patchespgsql-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

pgsql-www by date

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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group