Re: Where is PLbash ??

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Where is PLbash ??
Дата
Msg-id 200206260312.g5Q3CXg17695@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Where is PLbash ??  (Jan Wieck <JanWieck@Yahoo.com>)
Список pgsql-interfaces
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
 




В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Where is PLbash ??
Следующее
От: Karel Zak
Дата:
Сообщение: Re: Where is PLbash ??