Re: Executing External Programs

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Executing External Programs
Дата
Msg-id 20030517174323.GA22476@wolff.to
обсуждение исходный текст
Ответ на Executing External Programs  ("Andrew Brink" <abrink@netstandard.net>)
Список pgsql-general
On Wed, May 14, 2003 at 10:06:13 -0500,
  Andrew Brink <abrink@netstandard.net> wrote:
>
>
> Is there a way (maybe creating a function) to execute an external program from within postgre with a query?

You can do this in c and probably untrusted perl.
It may not be the best way to handle things depending on what you are
doing. This is especially true if you were planning on waiting for the
program to complete before returning from the function.
In many cases having a program poll (or run from cron) and check for
work to do is a better way to do this.

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

Предыдущее
От: "Nigel J. Andrews"
Дата:
Сообщение: Re: - what protocol for an Internet postgres
Следующее
От: "alex b."
Дата:
Сообщение: query duration