Jan Wieck wrote:
> 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.
So the people have to learn the SMTP protocol to send email. No wonder
people say PostgreSQL is hard to learn. ;-)
Some people just want to get the job done, and they will worry about
performance later. The shell is a powerful way to do that. Why do we
spend most of our time at shell prompts anyway?
-- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610)
853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill,
Pennsylvania19026