PL/PerlU problems executing other scripts - Mailing list pgsql-general

From Ian Warford
Subject PL/PerlU problems executing other scripts
Date
Msg-id 3F5C9283.6030300@ek3.com
Whole thread Raw
List pgsql-general
Hi,

I have a problem with a PL/PerlU function trying to execute an external
perl script.

The script is suid to a non-root user and I am executing it in the
PL/PerlU function as so :

$rc = system "/usr/bin/suidperl", "-T", "/usr/local/bin/script.pl";

The script doesn't go off, and the return code is printed out as 6400.
Executing the same script this way from the command line or a standalone
perl interpreter runs just fine.

I am running the Redhat Database version of Postgres (which equates to
7.2.3) on Redhat 8.0.

Any help would be appreciated.


pgsql-general by date:

Previous
From: Gagan Anand
Date:
Subject: bolb data type
Next
From: "George Weaver"
Date:
Subject: Re: [SQL] plPGSQL bug in function creation