Re: 16-bit page checksums for 9.2 - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: 16-bit page checksums for 9.2
Date
Msg-id 4F4E4839.60001@enterprisedb.com
Whole thread Raw
In response to Re: 16-bit page checksums for 9.2  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: 16-bit page checksums for 9.2  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
On 29.02.2012 17:42, Simon Riggs wrote:
> On Wed, Feb 29, 2012 at 3:30 PM, Heikki Linnakangas
> <heikki.linnakangas@enterprisedb.com>  wrote:
>
>> Surely it can be done online. You'll just need a third state between off and
>> on, where checksums are written but not verified, while the cluster is
>> scanned.
>
> Are you saying you would accept the patch if we had this?

I think I would still be uncomfortable with the hacks in the page 
header. Less so than in the current form - you wouldn't need a flag to 
indicate whether the page has a valid checksum or not, which would clean 
it up quite a bit - but still.

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


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: 16-bit page checksums for 9.2
Next
From: Rob Wultsch
Date:
Subject: Re: swapcache-style cache?