RE: AW: beta testing version

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема RE: AW: beta testing version
Дата
Msg-id NEBBIOAJBMEENKACLNPCIEKCCCAA.chriskl@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: AW: beta testing version  (Bruce Guenter <bruceg@em.ca>)
Список pgsql-hackers
> CRCs are designed to catch N-bit errors (ie N bits in a row with their
> values flipped).  N is (IIRC) the number of bits in the CRC minus one.
> So, a 32-bit CRC can catch all 31-bit errors.  That's the only guarantee
> a CRC gives.  Everything else has a 1 in 2^32-1 chance of producing the
> same CRC as the original data.  That's pretty good odds, but not a
> guarantee.

You've got a higher chance of undetected hard drive errors, memory errors,
solar flares, etc. than a CRC of that quality failing...

Chris



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Guenter
Дата:
Сообщение: Re: CRCs (was: beta testing version)
Следующее
От: mlw
Дата:
Сообщение: HeapTuple?