Re: Detecting corrupted pages earlier

Curt Sampson <cjs@cynic.net>

From: Curt Sampson <cjs@cynic.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgreSQL.org
Date: 2003-02-18T03:07:52Z
Lists: pgsql-hackers
On Mon, 17 Feb 2003, Tom Lane wrote:

> Postgres has a bad habit of becoming very confused if the page header of
> a page on disk has become corrupted.

What typically causes this corruption?

If it's any kind of a serious problem, maybe it would be worth keeping
a CRC of the header at the end of the page somewhere.

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 all light.  --XTC