Re: Detecting corrupted pages earlier

Hiroshi Inoue <inoue@tpf.co.jp>

From: Hiroshi Inoue <Inoue@tpf.co.jp>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgreSQL.org
Date: 2003-02-19T06:06:53Z
Lists: pgsql-hackers
Tom Lane wrote:
> 
> Hiroshi Inoue <Inoue@tpf.co.jp> writes:
> > Tom Lane wrote:
> >> I'm thinking of modifying ReadBuffer() so that it errors out if the
> 
> > What does the *error out* mean ?
> 
> Mark the buffer as having an I/O error and then elog(ERROR).
> 
> > Is there a way to make our way around the pages ?
> 
> If the header is corrupt, I don't think so.

What I asked is how to read all other sane pages.
Once pages are corrupted users would copy the sane data ASAP.

regards,
Hiroshi Inoue
	http://www.geocities.jp/inocchichichi/psqlodbc/