[GENERAL] Execution shell commands from Function

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[GENERAL] Execution shell commands from Function

pafiti
Hi,
 
I made some tests of plsh with Postgresql 8.0.2 but it seems that it doesn't work.
What's the easiest way to execute shell commands from a PostgreSQL function (afraid not possible from pgsql function...).
 
Regards,
Patrick

-------------------------------------------------------------------------------------------
Patrick Fiche
email : [hidden email]
tél : 01 69 29 36 18
-------------------------------------------------------------------------------------------


 
Reply | Threaded
Open this post in threaded view
|

Re: [GENERAL] Execution shell commands from Function

Bricklen Anderson
[hidden email] wrote:

> Hi,
>  
> I made some tests of plsh with Postgresql 8.0.2 but it seems that it
> doesn't work.
> What's the easiest way to execute shell commands from a PostgreSQL
> function (afraid not possible from pgsql function...).
>  
> Regards,
> Patrick
>
Easiest way? No idea.
Another way to do it is to use plperlu.

--
_______________________________

This e-mail may be privileged and/or confidential, and the sender does
not waive any related rights and obligations. Any distribution, use or
copying of this e-mail or the information it contains by other than an
intended recipient is unauthorized. If you received this e-mail in
error, please advise me (by return e-mail or otherwise) immediately.
_______________________________

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings