Re: Recovering database after disk crash

Поиск
Список
Период
Сортировка
От Vic Simkus
Тема Re: Recovering database after disk crash
Дата
Msg-id ce469da10805121717o451ca800s5fbc8f56cb52adba@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Recovering database after disk crash  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Recovering database after disk crash
Список 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 по дате отправления:

Предыдущее
От: Shane Ambler
Дата:
Сообщение: Re: changing the endianness of a database
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Recovering database after disk crash