Re: include shell commands in query

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: include shell commands in query
Дата
Msg-id 20030616172646.GB2940@wolff.to
обсуждение исходный текст
Ответ на include shell commands in query  ("Sebastian Kniat" <sebkniat@wp.pl>)
Список pgsql-general
On Fri, Jun 13, 2003 at 21:56:23 +0200,
  Sebastian Kniat <sebkniat@wp.pl> wrote:
> Hello,
> is posible to include shell commands, like ping, into query?
>  e.x.
> select current_timestamp, "ping IP_adress" into table table_name

You could write a function to do this, but it probably isn't a good idea.
Usually you want something external to the database to run commands based
on information stored in the database.

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

Предыдущее
От: Christian Schneidewind
Дата:
Сообщение: Inquiry From Form [pgsql]
Следующее
От: Sven Köhler
Дата:
Сообщение: Re: RE : full featured alter table?