Re: Where is PLbash ?? - Mailing list pgsql-interfaces

From Peter Eisentraut
Subject Re: Where is PLbash ??
Date
Msg-id Pine.LNX.4.44.0206252240071.1435-100000@localhost.localdomain
Whole thread Raw
In response to Re: Where is PLbash ??  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Where is PLbash ??
List pgsql-interfaces
Tom Lane 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.

What is the preferred way to implement non-database side effects, such as
triggering emails when certain events occur?  We should try to explain
this somewhere.

Certainly, PL/sh is not the preferred way.  It's terribly inefficient and
not nearly portable.

-- 
Peter Eisentraut   peter_e@gmx.net





pgsql-interfaces by date:

Previous
From: Jan Wieck
Date:
Subject: Re: Where is PLbash ??
Next
From: Tom Lane
Date:
Subject: Re: Where is PLbash ??