Re: PL/Perl embedding string common elements - Mailing list pgsql-patches

From Greg Sabino Mullane
Subject Re: PL/Perl embedding string common elements
Date
Msg-id a129382553af2b490b4786a4010ad5ec@biglumber.com
Whole thread Raw
In response to Re: PL/Perl embedding string common elements  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: PL/Perl embedding string common elements
List pgsql-patches
-----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. 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".

On the other hand, if 'use strict' was enabled for plperl, I might never
have discovered the bug at the start of this thread. :)

- --
Greg Sabino Mullane greg@turnstep.com
PGP Key: 0x14964AC8 200508212024
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iD8DBQFDCRu9vJuQZxSWSsgRAhRQAKDRupUuZ6CPPVliNliHS31m3koS4QCfS9hs
CKltu0fUbghaT/hZ1HsBhRQ=
=5axN
-----END PGP SIGNATURE-----



pgsql-patches by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: [HACKERS] PostgreSQL 8.0.3 and Ipv6
Next
From: "Andrew Dunstan"
Date:
Subject: Re: PL/Perl embedding string common elements