Re: Enabling Checksums

Jeff Davis <pgsql@j-davis.com>

From: Jeff Davis <pgsql@j-davis.com>
To: Greg Smith <greg@2ndQuadrant.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2013-01-17T03:04:59Z
Lists: 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