I think you are right --- there are no public key functions in there.
Perhaps the easiest way would be to detect a public-key library and make
functions in pg_crypto to call them if they exist.
---------------------------------------------------------------------------
Gianni Mariani wrote:
> Tom Lane wrote:
>
> >Gianni Mariani <gianni@mariani.ws> writes:
> >
> >
> >>Anyhow, are there any loadable modules that do public key encryption for
> >>Postgresql ? I'd like to access these functions in plpgsql.
> >>
> >>
> >
> >Look in contrib/pgcrypto.
> >
> > regards, tom lane
> >
> >
> Thanks for the pointer, I read the docs and I see no public key crypto
> stuff there. Did I miss somthing ?
>
> I suppose it would be a good point to start adding some new public key
> functions.
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
>
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073