Re: calling a shell script from pl/pgsql

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: calling a shell script from pl/pgsql
Дата
Msg-id Pine.BSF.4.21.0109101018210.15401-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на calling a shell script from pl/pgsql  ("Jeff Barrett" <jbarrett@familynetwork.com>)
Ответы Re: calling a shell script from pl/pgsql  (Larry Rosenman <ler@lerctr.org>)
pl/sh (was Re: calling a shell script from pl/pgsql)  (Alex Pilosov <alex@pilosoft.com>)
Список pgsql-sql
On Mon, 10 Sep 2001, Jeff Barrett wrote:

> How can I call a shell script from within a pl/pgsql function that is called
> as from a trigger. I do not want to interact with the script I just want it
> to run. I do want the trigger to wait for the script it called to complete
> before returning a value.
> 
> Any ideas would be greatly appreciated.

I don't think you can do that from within pl/pgsql.  You'd probably need a
function in pl/tclu or c.




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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: row level locking?
Следующее
От: Larry Rosenman
Дата:
Сообщение: Re: calling a shell script from pl/pgsql