Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 97EF02E0070 for ; Mon, 26 May 2008 17:45:27 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 23218-03-6 for ; Mon, 26 May 2008 17:44:54 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from lists.commandprompt.com (host-159.commandprompt.net [207.173.203.159]) by developer.postgresql.org (Postfix) with ESMTP id 4A75C2E0115 for ; Mon, 26 May 2008 17:40:04 -0300 (ADT) Received: from commandprompt.com (227-54-222-209.mycybernet.net [209.222.54.227]) (authenticated bits=0) by lists.commandprompt.com (8.13.8/8.13.8) with ESMTP id m4QKfHOg024530 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 26 May 2008 13:41:20 -0700 Date: Mon, 26 May 2008 16:39:58 -0400 From: Andrew Sullivan To: pgsql-admin@postgresql.org Subject: Re: table creation/modification datestamp Message-ID: <20080526203958.GT21327@commandprompt.com> Mail-Followup-To: Andrew Sullivan , pgsql-admin@postgresql.org References: <483AFEFD.2000504@refractions.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <483AFEFD.2000504@refractions.net> User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (lists.commandprompt.com [207.173.203.159]); Mon, 26 May 2008 13:41:21 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200805/223 X-Sequence-Number: 29307 On Mon, May 26, 2008 at 11:18:37AM -0700, Kevin Neufeld wrote: > As a DBA, it would be extremely useful to know when tables have been > created or modified. PostgreSQL doesn't keep track of this, does it? Nope. There's a project in pgfoundry, IIRC, to do it with triggers. You could also use Slony (or any of its work-similar friends) to do something similar. A -- Andrew Sullivan ajs@commandprompt.com +1 503 667 4564 x104 http://www.commandprompt.com/