Re: What exactly is our CRC algorithm?

Поиск
Список
Период
Сортировка
От Abhijit Menon-Sen
Тема Re: What exactly is our CRC algorithm?
Дата
Msg-id 20141226182241.GA31313@toroid.org
обсуждение исходный текст
Ответ на Re: What exactly is our CRC algorithm?  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: What exactly is our CRC algorithm?
Список pgsql-hackers
At 2014-12-26 13:11:43 -0500, bruce@momjian.us wrote:
>
> Is this something that could potentially change the data stored on
> disk? Does pg_upgrade need to check for changes in this area?  Is the
> detection exposed by pg_controldata?  Could this affect running the
> data directory on a different CPU?

No to all.

Subsequent to Heikki's change (already in master) to use the CRC-32C
algorithm (instead of the earlier mistakenly-reflected-but-not-quite
one), both the slice-by-8 software implementation posted earlier and
the SSE4.2 CRC32* instructions will compute exactly the same value.

(Yes, I have verified this in both cases.)

-- Abhijit



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: What exactly is our CRC algorithm?
Следующее
От: Kevin Grittner
Дата:
Сообщение: Re: BUG #12330: ACID is broken for unique constraints