Re: Where is PLbash ??

From: Jan Wieck <JanWieck(at)Yahoo(dot)com>
To: Steve Howe <howe(at)carcass(dot)dhs(dot)org>
Cc: pgsql-interfaces-owner(at)postgresql(dot)org, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 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-25 20:53:58
Message-ID: 3D18D866.81A18904@Yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Steve Howe wrote:
>
> Hello Bruce,
>
> Tuesday, June 25, 2002, 2:54:06 PM, you wrote:
>
> BM> Well, sending an email is something only PL/sh can do. I don't see the
> Pl/Python, or PL/Perl can do it easily too (even without opening
> external processes I mean). PL/TCL certainly should do it too.
>

Well, PL/TclU can do

set sm [socket localhost smtp]
puts $sm "HELO PostgreSQL"
...
close $sm

Underneath eMail is still a telnet style protocol and well documented
too. Noone needs a damned shell with all it's portability and security
problems to generate a simple eMail notification.

Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Peter Eisentraut 2002-06-25 21:56:10 Re: Where is PLbash ??
Previous Message Tom Lane 2002-06-25 20:39:48 Re: Where is PLbash ??