Re: Enabling Checksums - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: Enabling Checksums
Date
Msg-id 1358391899.1953.9.camel@jdavis
Whole thread Raw
In response to Re: Enabling Checksums  (Greg Smith <greg@2ndQuadrant.com>)
List pgsql-hackers
On Tue, 2013-01-15 at 19:36 -0500, Greg Smith wrote:
> First rev of a simple corruption program is attached, in very C-ish 
> Python.

Great. Did you verify that my patch works as you expect at least in the
simple case?

>  The parameters I settled on are to accept a relation name, byte 
> offset, byte value, and what sort of operation to do:  overwrite, AND, 
> OR, XOR.  I like XOR here because you can fix it just by running the 
> program again.

Oh, good idea.

Regards,Jeff Davis




pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Removing PD_ALL_VISIBLE
Next
From: Noah Misch
Date:
Subject: Re: pgcrypto seeding problem when ssl=on