Re: sha1, sha2 functions into core? - Mailing list pgsql-hackers

From ktm@rice.edu
Subject Re: sha1, sha2 functions into core?
Date
Msg-id 20110902190545.GW19360@staff-mud-56-27.rice.edu
Whole thread Raw
In response to Re: sha1, sha2 functions into core?  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: sha1, sha2 functions into core?
List pgsql-hackers
On Fri, Sep 02, 2011 at 09:54:07PM +0300, Peter Eisentraut wrote:
> On ons, 2011-08-31 at 13:12 -0500, Ross J. Reedstrom wrote:
> > Hmm, this thread seems to have petered out without a conclusion. Just
> > wanted to comment that there _are_ non-password storage uses for these
> > digests: I use them in a context of storing large files in a bytea
> > column, as a means to doing data deduplication, and avoiding pushing
> > files from clients to server and back.
> 
> But I suppose you don't need the hash function in the database system
> for that.
> 

It is very useful to have the same hash function used internally by
PostgreSQL exposed externally. I know you can get the code and add an
equivalent one of your own...

Regards,
Ken


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_upgrade automatic testing
Next
From: "Tomas Vondra"
Date:
Subject: Re: PATCH: regular logging of checkpoint progress