Checksum/Hash Functions

From: "Bryan White" <bryan(at)arcamax(dot)com>
To: "pgsql-general" <pgsql-general(at)postgreSQL(dot)org>
Subject: Checksum/Hash Functions
Date: 2002-05-30 13:52:51
Message-ID: 001201c207e1$4a1680e0$2000a8c0@bryan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joel Burton 2002-05-30 14:01:25 Re: Checksum/Hash Functions
Previous Message Martijn van Oosterhout 2002-05-30 13:42:48 Re: erros when making examples in /src/test/examples