Re: Could not read block error question - Mailing list pgsql-admin

From Tom Lane
Subject Re: Could not read block error question
Date
Msg-id 24166.1285684829@sss.pgh.pa.us
Whole thread Raw
In response to Could not read block error question  (Lukasz Brodziak <lukasz.brodziak@gmail.com>)
List 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 by date:

Previous
From: Lukasz Brodziak
Date:
Subject: Re: Could not read block error question
Next
From: Nigel
Date:
Subject: Why are some WAL files in pg_xlog symlinks to old files?