Re: Enabling Checksums

From: Ants Aasma <ants(at)cybertec(dot)at>
To: Craig Ringer <craig(at)2ndquadrant(dot)com>
Cc: Jeff Davis <pgsql(at)j-davis(dot)com>, Greg Smith <greg(at)2ndquadrant(dot)com>, Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>, Simon Riggs <simon(at)2ndquadrant(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Enabling Checksums
Date: 2013-03-23 12:42:59
Message-ID: CA+CSw_sx6AqRST2sg2YN1vQFCaqQPcnZYqGPpUoT1mns3_63qw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Mar 23, 2013 at 5:14 AM, Craig Ringer <craig(at)2ndquadrant(dot)com> wrote:
> Making zero a "not checksummed" magic value would significantly detract
> from the utility of checksums IMO.

FWIW using 65521 modulus to compress larger checksums into 16 bits
will leave 14 non-zero values unused.

Regards,
Ants Aasma
--
Cybertec Schönig & Schönig GmbH
Gröhrmühlgasse 26
A-2700 Wiener Neustadt
Web: http://www.postgresql-support.de

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2013-03-23 13:10:30 Re: Enabling Checksums
Previous Message Ants Aasma 2013-03-23 12:41:17 Re: Page replacement algorithm in buffer cache