Re: could not open relation 1663/16525/2604: no such file or dir - Mailing list pgsql-admin

From Hannes Dorbath
Subject Re: could not open relation 1663/16525/2604: no such file or dir
Date
Msg-id 4694B69E.3010701@theendofthetunnel.de
Whole thread Raw
In response to could not open relation 1663/16525/2604: no such file or dir  (giuseppe.derossi@email.it)
Responses Re: could not open relation 1663/16525/2604: no such file or dir  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
On 11.07.2007 12:09, giuseppe.derossi@email.it wrote:
> Help,
> alfter my computer chrashing, when I try to read a table by using pgAdmin I
> get the following errors:
> could not open relation 1663/16525/2604
> could not open relation 1663/16525/2611
> could not open relation 1663/16525/2604
> after that if I push ok I can see the data in the tables
> I see in the proprieties window that the create definition miss the fields.
> The conseguencies consists on I can't perform the backUp.
>
> How can I solve the problem ?

Two things:

1.) Do backups
2.) Disable write caching in your I/O sub system unless it's battery backed.

Shutdown PG, backup $PGDATA directory, start PG, try REINDEX DATABASE
<you_db>;. If that doesn't help anything, there are some tools available
on pg foundry to inspect the raw files in $PGDATA. You might be able to
get some of your data back using them.


--
Regards,
Hannes Dorbath

pgsql-admin by date:

Previous
From: giuseppe.derossi@email.it
Date:
Subject: could not open relation 1663/16525/2604: no such file or dir
Next
From: Ray Stell
Date:
Subject: Re: 8.2.4 patches?