Re: Please Help: PostgreSQL Query Optimizer

From: Tino Wildenhain <tino(at)wildenhain(dot)de>
To: Carlos Moreno <moreno(at)mochima(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Please Help: PostgreSQL Query Optimizer
Date: 2005-12-12 06:35:35
Message-ID: 1134369335.4975.74.camel@Andrea.peacock.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-benchmarks pgsql-chat pgsql-docs pgsql-hackers

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

In response to

Browse pgsql-benchmarks by date

  From Date Subject
Next Message Anjan Kumar. A. 2005-12-12 13:09:42 Re: Please Help: PostgreSQL Query Optimizer
Previous Message Carlos Moreno 2005-12-12 02:36:29 Re: Adding funtions to postgresql (Not - )e: Please Help:

Browse pgsql-chat by date

  From Date Subject
Next Message Anjan Kumar. A. 2005-12-12 13:09:42 Re: Please Help: PostgreSQL Query Optimizer
Previous Message Carlos Moreno 2005-12-12 02:36:29 Re: Adding funtions to postgresql (Not - )e: Please Help:

Browse pgsql-docs by date

  From Date Subject
Next Message Anjan Kumar. A. 2005-12-12 13:09:42 Re: Please Help: PostgreSQL Query Optimizer
Previous Message Carlos Moreno 2005-12-12 02:36:29 Re: Adding funtions to postgresql (Not - )e: Please Help:

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Glaesemann 2005-12-12 08:42:24 Re: psql patch: new host/port
Previous Message Tom Lane 2005-12-12 05:42:25 Re: Different length lines in COPY CSV