Re: Executing a shell command from a PG function

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Executing a shell command from a PG function
Дата
Msg-id 20051210162215.GA42041@winnie.fuhr.org
обсуждение исходный текст
Ответ на Executing a shell command from a PG function  (Yves Vindevogel <yves.vindevogel@implements.be>)
Ответы Re: Executing a shell command from a PG function  (Yves Vindevogel <yves.vindevogel@implements.be>)
Список pgsql-performance
On Sat, Dec 10, 2005 at 04:55:56PM +0100, Yves Vindevogel wrote:
> Is it possible to run a shell script, passing values of fields to it, in
> a Postgres function ?

Not directly from SQL or PL/pgSQL functions, but you can execute
shell commands with the untrusted versions of PL/Perl, PL/Tcl,
PL/Python, etc.  There's even a PL/sh:

http://pgfoundry.org/projects/plsh/

--
Michael Fuhr

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

Предыдущее
От: Jaime Casanova
Дата:
Сообщение: Re: Executing a shell command from a PG function
Следующее
От: Yves Vindevogel
Дата:
Сообщение: Re: Executing a shell command from a PG function