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

From Curt Sampson
Subject Re: Detecting corrupted pages earlier
Date
Msg-id Pine.NEB.4.51.0302181512360.386@angelic-vtfw.cvpn.cynic.net
Whole thread Raw
In response to Re: Detecting corrupted pages earlier  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, 18 Feb 2003, Tom Lane wrote:

> The header is only a dozen or two bytes long, so torn-page syndrome
> won't result in header corruption.

No. But the checksum would detect both header corruption and torn pages.
Two for the price of one. But I don't think it's worth changing the page
layout for, either. Maybe, if anybody still cares next time the page layout
is changed, pop it in with whatever else is being changed.

cjs
-- 
Curt Sampson  <cjs@cynic.net>   +81 90 7737 2974   http://www.netbsd.org   Don't you know, in this new Dark Age, we're
alllight.  --XTC
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Detecting corrupted pages earlier
Next
From: Kevin Brown
Date:
Subject: Re: Detecting corrupted pages earlier