From: | "Joel Burton" <joel(at)joelburton(dot)com> |
---|---|
To: | "Bryan White" <bryan(at)arcamax(dot)com>, "pgsql-general" <pgsql-general(at)postgreSQL(dot)org> |
Subject: | Re: Checksum/Hash Functions |
Date: | 2002-05-30 14:01:25 |
Message-ID: | JGEPJNMCKODMDHGOBKDNMENJCPAA.joel@joelburton.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
There are some hashes in the contrib/pg_crypto addition. You may need to
install this specifically (it's a separate RPM, or, if you install from
source, it's in the contrib/ folder).
- J.
Joel BURTON | joel(at)joelburton(dot)com | joelburton.com | aim: wjoelburton
Knowledge Management & Technology Consultant
> -----Original Message-----
> From: pgsql-general-owner(at)postgresql(dot)org
> [mailto:pgsql-general-owner(at)postgresql(dot)org]On Behalf Of Bryan White
> Sent: Thursday, May 30, 2002 9:53 AM
> To: pgsql-general
> Subject: [GENERAL] Checksum/Hash Functions
>
>
> Does PostgreSQL have any built-in check sum or hash functions.
>
> I want to be able to compute a checksum of a string as I display
> a record to
> the user and when the user updates the record compare the checksum in the
> update statement. I can do the checksum on the client side but it would
> save the overhead of an additional select statement at update time if the
> checksum could be computed on the database backend.
>
> I know I could write my own function to do this but I first
> wanted to check
> if there was a function already setup to do it. I have looked at the
> documentation but did not find anything.
>
> ---------
> Bryan White
> This email represents the consensus opinion
> of the many voices in my head.
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>
From | Date | Subject | |
---|---|---|---|
Next Message | Shaun Thomas | 2002-05-30 14:05:50 | Re: horrendous query challenge :-) |
Previous Message | Bryan White | 2002-05-30 13:52:51 | Checksum/Hash Functions |