Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 7A1142E003E for ; Mon, 19 Nov 2007 18:25:11 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 94604-09 for ; Mon, 19 Nov 2007 18:24:28 -0400 (AST) Received: from outbound-mail-31.bluehost.com (outbound-mail-31.bluehost.com [69.89.18.151]) by postgresql.org (Postfix) with SMTP id 25AF42E0033 for ; Mon, 19 Nov 2007 18:25:08 -0400 (AST) Received: (qmail 2165 invoked by uid 0); 19 Nov 2007 22:25:01 -0000 Received: from unknown (HELO box54.bluehost.com) (69.89.20.54) by mailproxy2.bluehost.com with SMTP; 19 Nov 2007 22:25:01 -0000 Received: from vdsl-151-118-146-205.dnvr.qwest.net ([151.118.146.205] helo=new-host.home) by box54.bluehost.com with esmtp (Exim 4.68) (envelope-from ) id 1IuF37-00037U-2f for pgsql-admin@postgresql.org; Mon, 19 Nov 2007 15:25:01 -0700 From: Kevin Kempter To: pgsql-admin@postgresql.org Subject: Get a list of ALL tables Date: Mon, 19 Nov 2007 15:24:47 -0700 User-Agent: KMail/1.9.6 (enterprise 0.20070907.709405) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200711191524.47852.kevin@kevinkempterllc.com> X-Identified-User: {840:box54.bluehost.com:kevinkem:kevinkempterllc.com} {sentby:bopbeforesmtp 151.118.146.205 authed with kevinkempterllc.com} X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.467 tagged_above=0 required=5 tests=AWL=-0.664, BAYES_50=0.001, DNS_FROM_OPENWHOIS=1.13 X-Spam-Level: X-Archive-Number: 200711/179 X-Sequence-Number: 27422 Hi List; I'm working with a client with several highly active 8.1.4 servers. I want to run a weekly cron that will vacuum ALL db tables except those with entries in pg_autovacuum (where we've setup manual/cron vacuums) in order to eliminate transaction ID wraparound failure warnings (which comes up fairly often). My question is: will a select from pg_tables for each database in the cluster provide me with a full table listing for the purposes of ensuring that all tables in the db have been vacuumed or are there others I'll need to account for as well ? Thanks in advance... /Kevin