Re: include shell commands in query - Mailing list pgsql-general

From Bruno Wolff III
Subject Re: include shell commands in query
Date
Msg-id 20030616172646.GB2940@wolff.to
Whole thread Raw
In response to include shell commands in query  ("Sebastian Kniat" <sebkniat@wp.pl>)
List 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 by date:

Previous
From: Christian Schneidewind
Date:
Subject: Inquiry From Form [pgsql]
Next
From: Sven Köhler
Date:
Subject: Re: RE : full featured alter table?