pg.ddx.io  pgsql-benchmarks@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tino Wildenhain <tino@wildenhain.de>
To: Carlos Moreno <moreno@mochima.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Please Help: PostgreSQL Query Optimizer
Date: Mon, 12 Dec 2005 07:35:35 +0100
Message-ID: <1134369335.4975.74.camel@Andrea.peacock.de> (raw)
In-Reply-To: <439CAE4D.2030208@mochima.com>
References: <Pine.LNX.4.61.0512111610320.4525@nsl-33.cse.iitb.ac.in>
	<200512111126.18566.josh@agliodbs.com>
	<Pine.LNX.4.61.0512120139080.6920@nsl-33.cse.iitb.ac.in>
	<439CAE4D.2030208@mochima.com>

Am Sonntag, den 11.12.2005, 17:55 -0500 schrieb Carlos Moreno:
...
> I'm interested in adding additional hash functions -- PG supports, as part
> of the built-in SQL functions, MD5 hashing.  So, for instance, I can simply
> type, at a psql console, the following:
> 
> select md5('abc');
> 
> My "feature request" (which again, I'd like to implement it myself) would
> be the ability to do:
> 
> select sha1('xyz'), sha256('etc');
> 
> (At least these two -- maybe for completeness it would be good to have
> sha224, 384, and 512, but I guess SHA1 and SHA-256 would be a very good
> and sound starting point)
> 
> So, can you offer some advice or pointers on how to go about that?

You might want to check out contrib/pgcrypto

more often then not, if you want something, its
already done ;)

Not sure if this will ever be included in the core,
since not many people need these advanced hash functions.

HTH
Tino Wildenhain




view thread (12+ messages)  latest in thread

Message-ID: <1134369335.4975.74.camel@Andrea.peacock.de>
Permalink:  ../1134369335.4975.74.camel@Andrea.peacock.de/
Also on:    postgresql.org/message-id/1134369335.4975.74.camel@Andrea.peacock.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-benchmarks@postgresql.org
  Cc: tino@wildenhain.de, moreno@mochima.com, pgsql-hackers@postgresql.org
  Subject: Re: Please Help: PostgreSQL Query Optimizer
  In-Reply-To: <1134369335.4975.74.camel@Andrea.peacock.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox