Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id B68C29FB84A for ; Tue, 17 Apr 2007 17:53:13 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 87727-03 for ; Tue, 17 Apr 2007 17:52:59 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail01.enterprisedb.com (mail01.enterprisedb.com [63.246.7.168]) by postgresql.org (Postfix) with ESMTP id 83FF69FB844 for ; Tue, 17 Apr 2007 17:52:58 -0300 (ADT) thread-index: AceBMmnOyfxdHXyUSnGLvOQGVf99Fw== Received: from [192.168.0.22] ([85.211.22.118]) by mail01.enterprisedb.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 17 Apr 2007 16:53:11 -0400 Content-Class: urn:content-classes:message Importance: normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2826 Subject: Re: log_autovacuum From: "Simon Riggs" To: "Alvaro Herrera" Cc: "Tom Lane" , In-Reply-To: <20070417204049.GD15495@alvh.no-ip.org> References: <1173369949.3641.132.camel@silverbirch.site> <20070308175330.GW4715@alvh.no-ip.org> <1173378696.3641.162.camel@silverbirch.site> <20070417180633.GA15495@alvh.no-ip.org> <1176834315.3635.414.camel@silverbirch.site> <20070417184550.GC15495@alvh.no-ip.org> <20070417151004.f59498b0.wmoran@collaborativefusion.com> <9363.1176841144@sss.pgh.pa.us> <20070417204049.GD15495@alvh.no-ip.org> Content-Type: text/plain; charset="iso-8859-1" Date: Tue, 17 Apr 2007 21:48:48 +0100 Message-ID: <1176842929.3635.520.camel@silverbirch.site> MIME-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 17 Apr 2007 20:53:12.0390 (UTC) FILETIME=[69A1AE60:01C78132] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200704/418 X-Sequence-Number: 1985 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