PL/PerlU problems executing other scripts

Поиск
Список
Период
Сортировка
От Ian Warford
Тема PL/PerlU problems executing other scripts
Дата
Msg-id 3F5C9283.6030300@ek3.com
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Gagan Anand
Дата:
Сообщение: bolb data type
Следующее
От: "George Weaver"
Дата:
Сообщение: Re: [SQL] plPGSQL bug in function creation