Re: include shell commands in query

From: Dennis Gearon <gearond(at)cvc(dot)net>
To: Sebastian Kniat <sebkniat(at)wp(dot)pl>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: include shell commands in query
Date: 2003-06-16 17:50:07
Message-ID: 3EEE034F.6020807@cvc.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Sure, it goes in like a text string. Now, if you want it to execute while in the query and NOT go into the database, I would doubt that you could have that.

Sebastian Kniat wrote:

> Hello,
> is posible to include shell commands, like ping, into query?
> e.x.
> select current_timestamp, "ping IP_adress" into table table_name
>
> With best regards
> Sebastian Kniat
>
> ---------------------------------------------------
> Szukasz wyjazdu wakacyjnego? Sprawdź nasze oferty!
> Nowy serwis w WP http://oferty.wp.pl/wakacje.html
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jan Wieck 2003-06-16 18:02:34 Re: Is it bug ?
Previous Message Bruce Momjian 2003-06-16 17:33:40 Re: include shell commands in query