On 26 November 2012 02:32, Jeff Davis <[email protected]> wrote: > * Make the checksum algorithm process 4 bytes at a time and sum into a > signed 64-bit int, which is faster than byte-at-a-time. Also, forbid > zero in either byte of the checksum, because that seems like a good > idea.
Like that, especially the bit where we use the blocknumber as the seed for the checksum, so it will detect transposed pages. That's also a really neat way of encrypting the data for anybody that tries to access things via direct anonymous file access. -- Simon Riggs http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
