Re: Regarding calling shell script from postgres function

Andreas Kretschmer <[email protected]>
Newsgroups gmane.comp.db.postgresql.sql
Message-ID <[email protected]>
On 27 July 2018 08:12:05 CEST, komala pelleti <[email protected]> wrote:
>Hi,
>
>I have requirement for calling a shell script from postgres function.
>
>Please help me on this ?


You can use an untrusted language like pl/perlU or plsh, but only as superuser.


>
>In our postgres db plsh,plperl extension are not enabled and control
>files
>not available.


Why?

>
>is there any otherway is there to do the same.

Afaik no.



Regards, Andreas

-- 
2ndQuadrant - The PostgreSQL Support Company
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.