Re: [HACKERS] wal_checksum = on (default) | off

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ron Mayer <rm_pg(at)cheapcomplexdevices(dot)com>
Cc: pgsql-patches(at)postgreSQL(dot)org
Subject: Re: [HACKERS] wal_checksum = on (default) | off
Date: 2007-01-04 19:43:11
Message-ID: 24772.1167939791@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Ron Mayer <rm_pg(at)cheapcomplexdevices(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Florian Weimer 2007-01-04 20:16:02 Re: [HACKERS] wal_checksum = on (default) | off
Previous Message markwkm 2007-01-04 19:38:01 ideas for auto-processing patches

Browse pgsql-patches by date

  From Date Subject
Next Message Florian Weimer 2007-01-04 20:16:02 Re: [HACKERS] wal_checksum = on (default) | off
Previous Message Ron Mayer 2007-01-04 19:18:12 Re: [HACKERS] wal_checksum = on (default) | off