Re: Can I call unix/linux commands within plsql?

From: Chris Albertson <chrisalbertson90278(at)yahoo(dot)com>
To: Timmy "HK" <timmy(dot)tang(at)gaojin(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Can I call unix/linux commands within plsql?
Date: 2001-12-13 17:38:43
Message-ID: 20011213173843.27233.qmail@web14707.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

There are two ways I can think of

1) Write a Perl, Pyton, C, or C++ program that calls
PostgreSQL and also makes the system calls you need.

2) Write a function (see man create_function) in C.
your C function can do anything.

I'm guessing you should be doing #1. But tell us your
application if you want better advice.

--- Timmy HK <timmy(dot)tang(at)gaojin(dot)com> wrote:
> Hello,
>
> I'm new to Postgresql/plsql. Can anyone tell me that whether I can
> call unix/linux commands within plsql or not? I need it because some
> functions can not be provided by the PostgreSQL server itself such as
> email.
>
> Thank you!!
>
> Timmy
>

=====
Chris Albertson
Home: 310-376-1029 chrisalbertson90278(at)yahoo(dot)com
Cell: 310-990-7550
Office: 310-336-5189 Christopher(dot)J(dot)Albertson(at)aero(dot)org

__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Marc G. Fournier 2001-12-13 17:40:48 Re: How Can I reach the mail archieve ?
Previous Message colm ennis 2001-12-13 17:34:39 Re: slow queries on large syslog table