Re: WIP checksums patch - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: WIP checksums patch
Date
Msg-id 20121001171433.GD30089@momjian.us
Whole thread Raw
In response to Re: WIP checksums patch  (Jeff Davis <pgsql@j-davis.com>)
Responses Re: WIP checksums patch  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
On Mon, Oct  1, 2012 at 10:04:09AM -0700, Jeff Davis wrote:
> On Mon, 2012-10-01 at 12:35 -0400, Bruce Momjian wrote:
> > The heap/index files are copied unmodified from the old cluster, so
> > there are no checksums on the pages.
> 
> That's fine though, the patch still reads the old format the same way,
> and the pages are treated as though they have no checksum. How is that a
> reason for defaulting the GUC to off?

No idea then.

> I'm missing something here. Are we worried about users who turn the GUC
> on and then expect all of their old data pages to magically be
> protected?

Perhaps we don't allow this to be turned per page, but rather per
cluster, and per-cluster would require the entire cluster to be
rewritten.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +



pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: WIP checksums patch
Next
From: Simon Riggs
Date:
Subject: Re: WIP checksums patch