Re: functions, shell script - Mailing list pgsql-general

From Command Prompt, Inc.
Subject Re: functions, shell script
Date
Msg-id Pine.LNX.4.30.0111051620000.9889-100000@commandprompt.com
Whole thread Raw
In response to functions, shell script  ("Kenneth Skiles" <ka.skiles@verizon.net>)
List 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@commandprompt.com
http://www.postgresql.info/
http://www.commandprompt.com/


pgsql-general by date:

Previous
From: "Command Prompt, Inc."
Date:
Subject: Re: Referring a table in another database
Next
From: "Command Prompt, Inc."
Date:
Subject: Re: postgres copy command