Re: Could not read block error question

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Could not read block error question
Дата
Msg-id 24166.1285684829@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Could not read block error question  (Lukasz Brodziak <lukasz.brodziak@gmail.com>)
Список pgsql-admin
Lukasz Brodziak <lukasz.brodziak@gmail.com> writes:
> One question about blocks in PG. I got an error "Could not read block
> <no.> of relation...." it appeared to be in pg_trigger but the thing
> is that the block number was 110 and the file has only 67 pages. So
> the question is how is it possible?

Well, that's why it failed to read the block ;-).  The real question is
why was it trying to read a block that doesn't exist in the table.
I'd bet on a corrupt index myself, so try reindexing.

            regards, tom lane

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

Предыдущее
От: Lukasz Brodziak
Дата:
Сообщение: Re: Could not read block error question
Следующее
От: Nigel
Дата:
Сообщение: Why are some WAL files in pg_xlog symlinks to old files?