Re: [HACKERS] Uh, this is *not* a 64-bit CRC ...

2001-03-12 Thread Nathan Myers
On Mon, Mar 05, 2001 at 02:00:59PM -0500, Tom Lane wrote: > [EMAIL PROTECTED] (Nathan Myers) writes: > > The CRC-64 code used in the SWISS-PROT genetic database is (now) at: > > ftp://ftp.ebi.ac.uk/pub/software/swissprot/Swissknife/old/SPcrc.tar.gz > > > From the README: > > > The code

Re: [HACKERS] Uh, this is *not* a 64-bit CRC ...

2001-03-05 Thread Tom Lane
[EMAIL PROTECTED] (Nathan Myers) writes: > The CRC-64 code used in the SWISS-PROT genetic database is (now) at: > ftp://ftp.ebi.ac.uk/pub/software/swissprot/Swissknife/old/SPcrc.tar.gz > From the README: > The code in this package has been derived from the BTLib package > obtained fr

Re: [HACKERS] Uh, this is *not* a 64-bit CRC ...

2001-02-28 Thread Bruce Momjian
> > Added to TODO: > > > > * Correct CRC WAL code to be normal CRC32 algorithm > > Um, how about > > * Correct CRC WAL code to be a real CRC64 algorithm > > instead? Done. -- Bruce Momjian| http://candle.pha.pa.us [EMAIL PROTECTED] | (6

Re: [HACKERS] Uh, this is *not* a 64-bit CRC ...

2001-02-28 Thread Nathan Myers
On Wed, Feb 28, 2001 at 09:17:19PM -0500, Bruce Momjian wrote: > > On Wed, Feb 28, 2001 at 04:53:09PM -0500, Tom Lane wrote: > > > 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-num

Re: [HACKERS] Uh, this is *not* a 64-bit CRC ...

2001-02-28 Thread Bruce Momjian
Added to TODO: * Correct CRC WAL code to be normal CRC32 algorithm > On Wed, Feb 28, 2001 at 04:53:09PM -0500, Tom Lane wrote: > > 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 od

Re: [HACKERS] Uh, this is *not* a 64-bit CRC ...

2001-02-28 Thread Bruce Momjian
I will just add a TODO item and we can hit it for 7.2. > On Wed, Feb 28, 2001 at 04:53:09PM -0500, Tom Lane wrote: > > 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

Re: [HACKERS] Uh, this is *not* a 64-bit CRC ...

2001-02-28 Thread Nathan Myers
On Wed, Feb 28, 2001 at 04:53:09PM -0500, Tom Lane wrote: > 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 ha