Re: what checksum algo?

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Scott Ribe <scott_ribe(at)elevated-dev(dot)com>
Cc: Postgresql General <pgsql-general(at)postgresql(dot)org>
Subject: Re: what checksum algo?
Date: 2013-11-14 00:39:41
Message-ID: CAB7nPqTuCM0sE7eBHUg9ZdAkxD4omHS0Ew16w93+patSEW3gwA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Nov 14, 2013 at 12:58 AM, Scott Ribe
<scott_ribe(at)elevated-dev(dot)com> wrote:
> What checksum algorithm wound up in 9.3?
>
> (I found Simon Riggs 12/2011 submittal using Fletcher's, Michael Paquier's 7/2013 post stating CRC32 reduced to 16, and another post online claiming that it was changed from CRC before release but not stating what it was changed to.)
CRC16 is used. It has been introduced with this commit:
http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=43e7a668499b8a69a62cc539a0fbe6983384339c
And then moved completely to src/include/storage/checksum_impl.h with
this commit to ease an external use of this algo:
http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=f04216341dd1cc235e975f93ac806d9d3729a344
Regards,
--
Michael

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter Geoghegan 2013-11-14 01:12:30 Re: what checksum algo?
Previous Message Tom Lane 2013-11-14 00:36:29 Re: expression index not used within function