Re: dumping tables from badly damaged db - Mailing list pgsql-admin

From Brian Ristuccia
Subject Re: dumping tables from badly damaged db
Date
Msg-id 20031031191546.GC24232@sw.starentnetworks.com
Whole thread Raw
In response to Re: dumping tables from badly damaged db  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
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

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: dumping tables from badly damaged db
Next
From: Tom Lane
Date:
Subject: Re: ? in explain query