Re: Detecting corrupted pages earlier - Mailing list pgsql-hackers

From Hiroshi Inoue
Subject Re: Detecting corrupted pages earlier
Date
Msg-id 3E531EFD.4BDF09BF@tpf.co.jp
Whole thread Raw
In response to Detecting corrupted pages earlier  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Detecting corrupted pages earlier  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 Inouehttp://www.geocities.jp/inocchichichi/psqlodbc/


pgsql-hackers by date:

Previous
From: "Vadim Mikheev"
Date:
Subject: Re: WAL replay logic (was Re: [PERFORM] Mount options f
Next
From: Tom Lane
Date:
Subject: Re: Detecting corrupted pages earlier