From: | "Andrew Dunstan" <andrew(at)dunslane(dot)net> |
---|---|
To: | <greg(at)turnstep(dot)com> |
Cc: | <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: PL/Perl embedding string common elements |
Date: | 2005-08-22 00:08:11 |
Message-ID: | 2920.24.211.165.134.1124669291.squirrel@www.dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Greg Sabino Mullane said:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
>> The biggest problem is that "use" is in fact a forbidden operation in
>> trusted plperl.
>
> I would very much like to have use strict available in plperl.
You're not alone. That's why we're going through all this.
> Is there
> any way at all to simply make an exception for 'use strict' (and
> perhaps some other pragma) without going through more contortions? I
> can't imagine enabling it would in any way make it more "untrusted".
>
"use" even for pragmas in unfortunately a "require" op, which makes it quite
definitely unsafe.
There are just some things that we have to forego in trusted plperl. We have
worked around a couple of the biggest (strict, warnings, utf8) and can
handle others on a case by case basis. If you have a better way I'm all ears.
cheers
andrew
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2005-08-22 00:08:22 | Re: [HACKERS] PostgreSQL 8.0.3 and Ipv6 |
Previous Message | Tom Lane | 2005-08-21 22:49:25 | Re: PostgreSQL 8.0.3 and Ipv6 |