Re: Detecting corrupted pages earlier

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Detecting corrupted pages earlier
Date: 2003-02-19 06:06:53
Message-ID: 3E531EFD.4BDF09BF@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
>
> Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)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/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-02-19 06:09:06 Re: Detecting corrupted pages earlier
Previous Message Vadim Mikheev 2003-02-19 05:31:03 Re: WAL replay logic (was Re: [PERFORM] Mount options f