Suresh Raja <suresh.rajaabc@gmail.com> wrote:
> Hi all:
>
> I'm looking to write a function to send email with result of a query. Is it
> possible to send email with in a function. Any help is appreciated.
Only with functions written in untrusted languages, for instance pl/sh or
pl/perlU. Not with pure SQL, no with pl/pgsql or similar.
Consider: you can't rollback a conveyed mail.
Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly." (unknown)
Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°