pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hannes Dorbath <light@theendofthetunnel.de>
To: giuseppe.derossi@email.it
Subject: Re: could not open relation 1663/16525/2604: no such file or dir
Date: Wed, 11 Jul 2007 12:53:18 +0200
Message-ID: <4694B69E.3010701@theendofthetunnel.de> (raw)
In-Reply-To: <e9fd9324d727a8d1d495bea4f9afef30@164.129.1.43>
References: <e9fd9324d727a8d1d495bea4f9afef30@164.129.1.43>

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



view thread (3+ messages)  latest in thread

Message-ID: <4694B69E.3010701@theendofthetunnel.de>
Permalink:  ../4694B69E.3010701@theendofthetunnel.de/
Also on:    postgresql.org/message-id/4694B69E.3010701@theendofthetunnel.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: light@theendofthetunnel.de, giuseppe.derossi@email.it
  Subject: Re: could not open relation 1663/16525/2604: no such file or dir
  In-Reply-To: <4694B69E.3010701@theendofthetunnel.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox