Skip site navigation (1) Skip section navigation (2)

Re: sha1, sha2 functions into core?

From: "ktm(at)rice(dot)edu" <ktm(at)rice(dot)edu>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: "Ross J(dot) Reedstrom" <reedstrm(at)rice(dot)edu>,Marko Kreen <markokr(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>,pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: sha1, sha2 functions into core?
Date: 2011-09-02 19:05:45
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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...


In response to


pgsql-hackers by date

Next:From: Tomas VondraDate: 2011-09-02 19:09:52
Subject: Re: PATCH: regular logging of checkpoint progress
Previous:From: Tom LaneDate: 2011-09-02 19:04:28
Subject: Re: pg_upgrade automatic testing

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group