Drop separate CRC32 implementations in ltree, tsearch, tsearch2?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: Drop separate CRC32 implementations in ltree, tsearch, tsearch2?
Date: 2005-06-02 06:00:17
Message-ID: 10222.1117692017@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

contrib/ltree, contrib/tsearch, and contrib/tsearch2 each contain
implementations of CRC32 calculations. I think these are now pretty
redundant with the CRC32 code existing in the main backend. They
use a different CRC polynomial than the main backend code does,
but it's hard to credit that that is an important difference.
Anyone see a reason not to rip that code out and make these modules
use pg_crc.h/pg_crc.c instead?

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Oliver Jowett 2005-06-02 06:14:04 Re: NOLOGGING option, or ?
Previous Message Alvaro Herrera 2005-06-02 05:17:26 Re: NOLOGGING option, or ?