Bruce Momjian <pgman@candle.pha.pa.us> writes:
>> I know you will say that PL/sh is not any more dangerous than the
>> untrusted versions of plperl and pltcl, but there is a difference.
>> PL/sh has *no reason to exist* other than to implement
>> non-transaction-safe outside-the-database behavior; there is no safe
>> behavior for which it is the preferred tool.
> Well, sending an email is something only PL/sh can do.
Nonsense --- a quick system() call in plperlu or pltclu can do it
just as well, or even launch a shell script if you insist on coding
your mistakes in sh...
regards, tom lane