Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 7DB8F65020A for ; Thu, 18 Dec 2008 09:17:12 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 28195-09 for ; Thu, 18 Dec 2008 09:17:05 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from lists.commandprompt.com (host-159.commandprompt.net [207.173.203.159]) by mail.postgresql.org (Postfix) with ESMTP id 86A5E65015A for ; Thu, 18 Dec 2008 09:17:03 -0400 (AST) Received: from perhan.alvh.no-ip.org (190-95-20-42.bk17-dsl.surnet.cl [190.95.20.42]) (authenticated bits=0) by lists.commandprompt.com (8.13.8/8.13.8) with ESMTP id mBIDM5t6009938 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 18 Dec 2008 05:22:09 -0800 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id AFB2C47CCD; Thu, 18 Dec 2008 10:16:55 -0300 (CLST) Date: Thu, 18 Dec 2008 10:16:55 -0300 From: Alvaro Herrera To: Stefano Nichele Cc: pgsql-admin@postgresql.org Subject: Re: tracking last_autovacuum Message-ID: <20081218131655.GD5447@alvh.no-ip.org> References: <494A49CA.4050905@gmail.com> <20081218130730.GC5447@alvh.no-ip.org> <494A4C85.9090700@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <494A4C85.9090700@gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (lists.commandprompt.com [207.173.203.159]); Thu, 18 Dec 2008 05:22:09 -0800 (PST) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200812/146 X-Sequence-Number: 30979 Stefano Nichele escribió: > Yes, i could do that but it seems simpler (to me) with a trigger than > looking at the recent changes records and store them somewhere. You can't have a trigger there, sorry. -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.