Re: postgres launch os applications

Поиск
Список
Период
Сортировка
От Sean Davis
Тема Re: postgres launch os applications
Дата
Msg-id 264855a00810071034r4242332dk3e27693434250ac1@mail.gmail.com
обсуждение исходный текст
Ответ на postgres launch os applications  ("Ertel, Steve" <Steve.Ertel@infimatic.com>)
Ответы Re: postgres launch os applications  ("Richard Broersma" <richard.broersma@gmail.com>)
Список pgsql-novice
On Tue, Oct 7, 2008 at 1:13 PM, Ertel, Steve <Steve.Ertel@infimatic.com> wrote:
> I am trying to start an OS executable every time that a table is updated.  I
> know that I should create a trigger on the table, but how do I launch the OS
> executable.  I have a background in sql server.  In it we would use
> something like xsp_execute().  I am looking for the equivalent function call
> in Postgres.

You cannot do this with any "trusted" language (which includes
pg/plsql).  However, you can use any of the untrusted languages like
pl/python, pl/perl, pl/java, pl/tcl, etc.  Of course, each of those
languages has its own specifics dealing with starting executables.

Sean

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

Предыдущее
От: "Ertel, Steve"
Дата:
Сообщение: postgres launch os applications
Следующее
От: "Richard Broersma"
Дата:
Сообщение: Re: postgres launch os applications