Re: BUG #5704: not correct restrictions plperlu - Mailing list pgsql-bugs

From Alex Hunsaker
Subject Re: BUG #5704: not correct restrictions plperlu
Date
Msg-id AANLkTinwXd3oc7__t9ay5bnLVJzMjsSBt0ERaHoZ_h1n@mail.gmail.com
Whole thread Raw
In response to Re: BUG #5704: not correct restrictions plperlu  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-bugs
On Wed, Oct 13, 2010 at 10:34, Robert Haas <robertmhaas@gmail.com> wrote:
> On Mon, Oct 11, 2010 at 4:24 PM, Igor <oru@ukr.net> wrote:
>> PostgreSQL version: 8.1
>> Operating system: =C2=A0 CentOs 5
>> Description: =C2=A0 =C2=A0 =C2=A0 =C2=A0not correct =C2=A0restrictions p=
lperlu
>> Details:
>>
>> rights of functions on plperlu
>> lower than the user postgres
>>
>> external system command not execut (telnet)
>
> It's very unclear from this description what you think the problem is.

Yeah, however if I had to guess: the system user 'postges' can execute
telnet but system('telnet') from within plperlu fails. (Or the other
way around?)  Still not much we can do without error messages or test
cases ;).  My hunch would be hrm, its centos... selinux related?  Try
fiddling with that.  Also make sure you specify the full path or that
your PATH is set right.

> Please provide a self-contained test case showing what you think
> should happen and what actually does happen.

Obviously including any relevant error messages :).

pgsql-bugs by date:

Previous
From: Robert Haas
Date:
Subject: Re: BUG #5704: not correct restrictions plperlu
Next
From: David Newall
Date:
Subject: Re: rollback to savepoint leads to transaction already in progress