Re: [HACKERS] wal_checksum = on (default) | off - Mailing list pgsql-patches

From Tom Lane
Subject Re: [HACKERS] wal_checksum = on (default) | off
Date
Msg-id 24772.1167939791@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] wal_checksum = on (default) | off  (Ron Mayer <rm_pg@cheapcomplexdevices.com>)
List pgsql-patches
Ron Mayer <rm_pg@cheapcomplexdevices.com> writes:
> Quoting wikipedia:
> "Adler-32 has a weakness for short messages with few hundred bytes,
>  because the checksums for these messages have a poor coverage of
>  the 32 available bits...Jonathan Stone discovered in 2001 that Adler-32
>  has a weakness...An extended explanation can be found in RFC 3309,
>  which mandates the use of CRC32 instead of Adler-32...."

[ looks at the RFC... ]  Yeah, so that pretty much kills it for WAL
entries, which are mostly short.

            regards, tom lane

pgsql-patches by date:

Previous
From: Ron Mayer
Date:
Subject: Re: [HACKERS] wal_checksum = on (default) | off
Next
From: Florian Weimer
Date:
Subject: Re: [HACKERS] wal_checksum = on (default) | off