Re: CRC function? - Mailing list pgsql-general

From Francisco Reyes
Subject Re: CRC function?
Date
Msg-id 20020708130022.S37019-100000@zoraida.natserv.net
Whole thread Raw
In response to Re: CRC function?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: CRC function?
List pgsql-general
On Mon, 8 Jul 2002, Bruce Momjian wrote:

> Francisco Reyes wrote:
> > Looked at contrib and didn't see it.
> > Anyone knows if there is a CRC fuction available for PostgreSQL.
> >
> > As an example of how I would use it.
> > Imagine a table with 3 columns
> > id,text, crc_val
> >
> > I could then do something like:
> > select id from <table> where crc(text) <> crc_val;
>
> Sure see contrib/pgcrypto/README:
>
>     Hashes:     MD5, SHA1, CRC32, CRC32B, GOST, TIGER, RIPEMD160,

CRC32 is not installed/supported.
Wrote to the author asking him how difficult it would be to add.




pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: I am being interviewed by OReilly
Next
From: Darren Ferguson
Date:
Subject: Re: Null in the where-clause