AW: Uh, this is *not* a 64-bit CRC ...

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SB
Тема AW: Uh, this is *not* a 64-bit CRC ...
Дата
Msg-id 11C1E6749A55D411A9670001FA68796336821D@sdexcsrv1.f000.d0188.sd.spardat.at
обсуждение исходный текст
Ответы Re: AW: Uh, this is *not* a 64-bit CRC ...  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> I just took a close look at the COMP_CRC64 macro in xlog.c.
> 
> This isn't a 64-bit CRC.  It's two independent 32-bit CRCs, one done
> on just the odd-numbered bytes and one on just the even-numbered bytes
> of the datastream.  That's hardly any stronger than a single 
> 32-bit CRC;
> it's certainly not what I thought we had agreed to implement.

Hmm, strange. I thought that we had agreed upon a 32 bit CRC
on the grounds, that it would be strong enough to guard a single
log record.

Andreas


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

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: SunOS4
Следующее
От: Olivier PRENANT
Дата:
Сообщение: Re: Re: int8 beta5 broken?