Re: PG 8.1beta3 out soon - Mailing list pgsql-hackers

From Tom Lane
Subject Re: PG 8.1beta3 out soon
Date
Msg-id 13535.1129037905@sss.pgh.pa.us
Whole thread Raw
In response to Re: PG 8.1beta3 out soon  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
>>> Actually, my take on your analysis is that there should be a way to get
>>> at "use warnings" (I assume that's disallowed in trusted plperl).
>> 
>> Yes, we can't allow "use" in trusted code. But we could turn it on in 
>> plperl.c, just as we can turn on strict mode, and HEAD already has the 
>> infrastructure for logging lexical warnings - that's a new feature. I 
>> will investigate turning the switch.

> I spoke a bit rashly here. The only way I have been able to make it work 
> so far in the Safe container is via the global -w flag - everything else 
> I tried failed, although it worked just fine for untrusted code. I don't 
> have lots of time to spend working out why.

I think we'd best put this on the TODO list for 8.2.  It's awfully late
in the cycle to be rushing through half-thought-out features ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Ilia Kantor"
Date:
Subject: Re: slow IN() clause for many cases
Next
From: "Greg Sabino Mullane"
Date:
Subject: Re: PG 8.1beta3 out soon