Re: PL/Perl embedding string common elements

From: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: Re: PL/Perl embedding string common elements
Date: 2005-08-22 00:27:18
Message-ID: a129382553af2b490b4786a4010ad5ec@biglumber.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)turnstep(dot)com
PGP Key: 0x14964AC8 200508212024
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2005-08-22 00:37:58 Re: data on devel code perf dip
Previous Message Andrew Dunstan 2005-08-22 00:08:22 Re: [HACKERS] PostgreSQL 8.0.3 and Ipv6