Re: DB corrupted ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: DB corrupted ?
Дата
Msg-id 26805.1043856577@sss.pgh.pa.us
обсуждение исходный текст
Ответ на DB corrupted ?  (eurlix <eurlix@libertysurf.fr>)
Ответы Re: DB corrupted repaired
Список pgsql-novice
eurlix <eurlix@libertysurf.fr> writes:
> I use Postgres 7.0 on a mandrake 8.0 and I am really novice
> with Postgres and SQL.

You really, really should update to something newer than 7.0.
The list of bugs we've fixed since then would make your blood run cold.

> If I try :
> select * from cpjo order by joMA, joJNL, joFOL ;
> I obtain :
> ERROR:  cannot open segment 1 of relation cpjo
>  (target block 1346502656): No such file or directory

Is that query using an index?  (Try EXPLAINing the query to find out.)
If so, I'd suggest dropping and recreating that index.  7.0 is far
enough back that I'm not sure REINDEX works real well in it, if it
has it at all.

            regards, tom lane

В списке pgsql-novice по дате отправления:

Предыдущее
От: Steve_Miller@sil.org
Дата:
Сообщение: Re: Good books?
Следующее
От: "paul butler"
Дата:
Сообщение: Re: Good books?