Re: functions, shell script

From: "Command Prompt, Inc(dot)" <pgsql-general(at)commandprompt(dot)com>
To: Kenneth Skiles <ka(dot)skiles(at)verizon(dot)net>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: functions, shell script
Date: 2001-11-06 00:20:59
Message-ID: Pine.LNX.4.30.0111051620000.9889-100000@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

You can't. You could write a C function that made a system call but you
can not call to the shell directly.

Sincerely,

Joshua Drake
http://www.postgresql.infop

On Sun, 4 Nov 2001, Kenneth Skiles wrote:

> Can anyone give me an example of postgresql function that will execute a shell script?
>
> I will call the function from a postgresql trigger.
>
> Thanks.
>

--
--
by way of pgsql-general(at)commandprompt(dot)com
http://www.postgresql.info/
http://www.commandprompt.com/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Command Prompt, Inc. 2001-11-06 00:27:16 Re: Probably simple answer
Previous Message Command Prompt, Inc. 2001-11-06 00:18:06 Re: Referring a table in another database