Re: Where is PLbash ??

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Friedrich Dodt <friedrich(dot)dodt(at)efonds24(dot)de>, pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Where is PLbash ??
Date: 2002-06-26 03:10:21
Message-ID: 200206260310.g5Q3ALL17484@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > Tom Lane wrote:
> >> There's a difference between making a dangerous thing possible and
> >> encouraging people to do it. But I'll wait and see what Peter thinks.
>
> > I think Peter agrees with you. My point is that we can PL/sh and
> > document it's limitations. With perl, the ability is there but it isn't
> > obviouis why it is a problem.
>
> Well, there's some merit in that argument: the pl/sh chapter would be an
> ideal place to explain in bright red letters why pl/sh is dangerous ;-),
> and then we could cross-reference that discussion from plperlu and
> pltclu, which don't really have good places to put a long discussion
> about the risks.

All I know is that from a shell I can do:

echo "You lost money" | mail -s "Lost money" fred

pretty easily. Hard to make anything simpler that that, and I can't
imagine the other languages are any faster or simpler.

I think sending email is an archetypal stored procedure action. I
realize it isn't great, but it meets people's needs who have to do it.

You can argue that people shouldn't want to do such things, but they
obviously want to do them, so why not give them a way, and warn them at
the same time.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Bruce Momjian 2002-06-26 03:12:33 Re: Where is PLbash ??
Previous Message Jan Wieck 2002-06-25 23:08:10 Re: Where is PLbash ??