Re: Block-level CRC checks - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Block-level CRC checks
Date
Msg-id 48E46BAD.6010501@enterprisedb.com
Whole thread Raw
In response to Re: Block-level CRC checks  ("Jonah H. Harris" <jonah.harris@gmail.com>)
Responses Re: [SPAM?]: Re: Block-level CRC checks
List pgsql-hackers
Jonah H. Harris wrote:
> Rather than potentially letting this slide past 8.4, I threw together
> an extremely quick-hack patch at the smgr-layer for block-level
> checksums.

One hard problem is how to deal with torn pages with non-WAL-logged 
changes. Like heap hint bit updates, killing tuples in index pages 
during a scan, and the new FSM pages.

Currently, a torn page when writing a hint-bit-updated page doesn't 
matter, but it would break the checksum.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: "Jonah H. Harris"
Date:
Subject: Re: Block-level CRC checks
Next
From: Florian Weimer
Date:
Subject: Re: Block-level CRC checks