Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group