X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id E4CFED1B58F for ; Fri, 31 Oct 2003 19:18:57 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 58967-09 for ; Fri, 31 Oct 2003 15:18:27 -0400 (AST) Received: from pasta.sw.starentnetworks.com (pasta.sw.starentnetworks.com [12.33.234.10]) by svr1.postgresql.org (Postfix) with ESMTP id 9781CD1CA67 for ; Fri, 31 Oct 2003 15:15:45 -0400 (AST) Received: by pasta.sw.starentnetworks.com (Postfix, from userid 1008) id 73E0014A16A; Fri, 31 Oct 2003 14:15:46 -0500 (EST) Date: Fri, 31 Oct 2003 14:15:46 -0500 From: Brian Ristuccia To: Tom Lane Cc: pgsql-admin@postgresql.org Subject: Re: dumping tables from badly damaged db Message-ID: <20031031191546.GC24232@sw.starentnetworks.com> References: <20031031161943.GB24232@sw.starentnetworks.com> <6231.1067627157@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6231.1067627157@sss.pgh.pa.us> User-Agent: Mutt/1.3.28i X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/422 X-Sequence-Number: 10983 On Fri, Oct 31, 2003 at 02:05:57PM -0500, Tom Lane wrote: > > You might be able to get past this by starting a standalone postgres > with the -P command-line option (ignore system indexes). If so, try > "select relname, relfilenode from pg_class". With luck that will give > you a list of which file name is needed for each table. I'd not counsel > trying to do more than that in the standalone backend until you've > gotten at least the tables put back together. > The standalone backend errors out with: FATAL 1: _mdfd_getrelnfd: cannot open relation pg_trigger: No such file or directory I suspect my troubles may be more severe than just a missing index... My week-old backups are starting to look more and more attractive. Any other hints? Thanks. -Brian