Hi Tom, I didn't post the sources to the list originally as I wasn't sure if the topic were of enough interest to warrant a larger email. I've attached the two corrected programs as a .tar.gz - crctest.c uses uint32, whereas crctest64.c uses uint64.
Kind regards, Mark. ------------------------ WebBased Ltd 17 Research Way Plymouth PL6 8BT T: +44 (0)1752 797131 F: +44 (0)1752 791023 W: http://www.webbased.co.uk > -----Original Message----- > From: Tom Lane [mailto:[EMAIL PROTECTED] > Sent: 16 May 2005 15:01 > To: Mark Cave-Ayland (External) > Cc: pgsql-hackers@postgresql.org > Subject: Re: [HACKERS] Cost of XLogInsert CRC calculations > > > "Mark Cave-Ayland" <[EMAIL PROTECTED]> writes: > > Sigh, so it would help if I had added the offset to the data > > pointer... ;) > > Would you post the corrected program so people can try it on > a few other architectures? No point in reinventing the > wheel, even if it is a pretty trivial wheel. > > regards, tom lane >
crctest.tar.gz
Description: Binary data
---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings