Re: [HACKERS] plperl Safe restrictions

From: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
To: <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: <john(at)geeknet(dot)com(dot)au>, <tgl(at)sss(dot)pgh(dot)pa(dot)us>, <pgsql-patches(at)postgresql(dot)org>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] plperl Safe restrictions
Date: 2004-12-01 23:44:24
Message-ID: 1662.24.211.141.25.1101944664.squirrel@www.dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Bruce Momjian said:
>
> Uh, what was the TODO here? I forgot.
>
>

John wanted us to allow use of the 'locale' and 'utf8' pragmas in trusted
code. If there's a TODO it would be to investigate the possibility, as I am
very far from certain that there is a simple way to do it safely right now.
Maybe when we get plperl using GUC settings and running some interpreter
initialisation it could be done. These are things on my agenda.

cheers

andrew

---------------------------------------------------------------------------
>
> John Hansen wrote:
>> > I think it is *way* too late in the dev cycle to be proposing this.
>> > Maybe it should be a TODO item - I at least don't have time even to
>> > think about the implications os using these pragmas. The effect of
>> > the first is achievable via an environment setting, I believe.
>> >
>> > If you need these badly enough, use plperlu where there are no
>> > restrictions to overcome - the big problem is that 'use anything'
>> > requires that we enable the 'require' op, and that is certainly not
>> > going to happen without a great deal of thought.
>>
>> Fair enough, was just a suggestion as they seem obviously useful, even
>> to the non-superuser plperl programmer.
>>
>> TODO item would suffice :)
>>
>> ... John

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Neil Conway 2004-12-01 23:57:35 Re: New compile warnings for inheritance
Previous Message Bruce Momjian 2004-12-01 23:03:54 Re: Fix for "q" with psql display paging dumps out of psql

Browse pgsql-patches by date

  From Date Subject
Next Message Jon Jensen 2004-12-02 00:52:08 Update for documentation on CVS
Previous Message Tom Lane 2004-12-01 22:43:35 Re: libpq and psql not on same page about SIGPIPE