Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-interfaces by date

Next:From: Peter EisentrautDate: 2002-06-25 21:56:10
Subject: Re: Where is PLbash ??
Previous:From: Tom LaneDate: 2002-06-25 20:39:48
Subject: Re: Where is PLbash ??

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group