Re: Adding funtions to postgresql (Not - )e: Please Help:

From: Carlos Moreno <moreno(at)mochima(dot)com>
To: Hannu Krosing <hannu(at)skype(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Adding funtions to postgresql (Not - )e: Please Help:
Date: 2005-12-12 02:36:29
Message-ID: 439CE22D.70609@mochima.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-benchmarks pgsql-chat pgsql-docs pgsql-hackers

Hannu Krosing wrote:

>Ühel kenal päeval, P, 2005-12-11 kell 17:55, kirjutas Carlos Moreno:
>
>>Hi,
>>
>>I'm very new to this list -- I've been using and advocating PostgreSQL for
>>no less than 4 or 5 years now, and have participated in some of the other
>>mailing lists, but never on this one.
>>
>>My question is (short version): how would one go about adding a new
>>(built-in) function to PostgreSQL?
>>
>
>Ask your question as a separate post, not as an answer t another
>thread :)
>

I know... Sorry -- My brain must have temporarily shut down when I was
posting. Wrong subject, wrong link to the rest of the messages... :-(

> 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)
>>
>
>Take a look at the pgcrypto contrib module (in src/contrib/pgcrypto )
>
>Not only does it show how to add functions, but it also provides many of
>the ones you need.
>

Ok. Will do.

Thanks for the pointer!

Carlos
--

In response to

Browse pgsql-benchmarks by date

  From Date Subject
Next Message Tino Wildenhain 2005-12-12 06:35:35 Re: Please Help: PostgreSQL Query Optimizer
Previous Message Andrew Dunstan 2005-12-12 00:02:08 Re: Adding funtions to postgresql (Not - )e: Please Help:

Browse pgsql-chat by date

  From Date Subject
Next Message Tino Wildenhain 2005-12-12 06:35:35 Re: Please Help: PostgreSQL Query Optimizer
Previous Message Andrew Dunstan 2005-12-12 00:02:08 Re: Adding funtions to postgresql (Not - )e: Please Help:

Browse pgsql-docs by date

  From Date Subject
Next Message Tino Wildenhain 2005-12-12 06:35:35 Re: Please Help: PostgreSQL Query Optimizer
Previous Message Andrew Dunstan 2005-12-12 00:02:08 Re: Adding funtions to postgresql (Not - )e: Please Help:

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2005-12-12 04:17:44 Different length lines in COPY CSV
Previous Message F Harvell 2005-12-12 00:17:07 Re: New packages built ...