From: Tom Lane <tgl@sss.pgh.pa.us>
To: Lukasz Brodziak <lukasz.brodziak@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Could not read block error question
Date: Tue, 28 Sep 2010 10:40:29 -0400
Message-ID: <24166.1285684829@sss.pgh.pa.us> (raw)
In-Reply-To: <AANLkTimp=VKdRmF+7iu4o4oBLYoyTzVSEsCWdv+noWih@mail.gmail.com>
References: <AANLkTimp=VKdRmF+7iu4o4oBLYoyTzVSEsCWdv+noWih@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, lukasz.brodziak@gmail.com
Subject: Re: Could not read block error question
In-Reply-To: <24166.1285684829@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox