Alexander Deruwe wrote:
>Hey,
>
>I was wondering if it is possible to send email from within PL/pgsql.
>I'd like to do this to avoid code duplication in multiple frontends.
>Can this be done somehow? Or do I have to write a C function for this
>purpose? If so, how does one go about that?
>
>
You can do it from pgperl and you can call a pgperl fruntion from pl/pgsql.