Re: Recovering database after disk crash - Mailing list pgsql-general

From Vic Simkus
Subject Re: Recovering database after disk crash
Date
Msg-id ce469da10805121717o451ca800s5fbc8f56cb52adba@mail.gmail.com
Whole thread Raw
In response to Re: Recovering database after disk crash  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Recovering database after disk crash
List pgsql-general
If I'm understanding the errors correctly it seems that the corruption
is in the system catalogs (metadata). The database does not use any
fancy datatypes. Is there any way for me to rebuild the metadata
manually? If I can see the leftover metadata and the data minus the
missing metadata I can probably piece everything together enough to
get the data out.

 Does that make sense or am I off my rocker?



On 5/12/08, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Vic Simkus" <vic.simkus@gmail.com> writes:
> > postgres@vsimkus-laptop:/var/log/postgresql$ reindexdb EPC
> > NOTICE:  table "pg_class" was reindexed
> > reindexdb: reindexing of database "EPC" failed: ERROR:  catalog is
> > missing 4 attribute(s) for relid 10762
>
> If you're really lucky, doing the reindex with ignore_system_indexes
> enabled will go through.  Otherwise, it's time to go back to your
> last backups :-(
>
>             regards, tom lane
>


--
Men never do evil so completely and cheerfully as when they do it from
religious conviction.

-Blaise Pascal

pgsql-general by date:

Previous
From: Shane Ambler
Date:
Subject: Re: changing the endianness of a database
Next
From: Tom Lane
Date:
Subject: Re: Recovering database after disk crash