Re: 16-bit page checksums for 9.2

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: 16-bit page checksums for 9.2
Дата
Msg-id 4F0402C60200002500044319@gw.wicourts.gov
обсуждение исходный текст
Ответ на 16-bit page checksums for 9.2  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
Alvaro Herrera  wrote:
> We don't support BLCKSZ higher than 32k anyway
Thanks for pointing that out.  Then I think we should declare sum1 to
be uint and sum2 to be uint64.  We can take out the "% 255" out from
where it sits in the v2 patch, and just add something like this after
the sums are generated:   sum1 %= 255;   sum2 %= 255;
Or, of course, we can just do it on the line where we combine the two
sums for the final result, if that's not too hard to read.
-Kevin


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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: 16-bit page checksums for 9.2
Следующее
От: "Albe Laurenz"
Дата:
Сообщение: Re: review: CHECK FUNCTION statement