From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Mike G(dot)" <mike(at)thegodshalls(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Use strict with plperl |
Date: | 2005-01-17 16:10:47 |
Message-ID: | 2217.1105978247@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
"Mike G." <mike(at)thegodshalls(dot)com> writes:
> In 8.0 how does one have a plperl function use strict?
> If I add "use strict" within the function body I receive an error message: "creation of Perl function failed: 'require' trapped by operation mask..."
You'd have to use plperlu to be allowed to "use" anything. It's
annoying that this blocks out perfectly safe modules like "strict",
but as far as I understand the security model we can't be more
selective.
> If I do Create Function X AS .... Language 'plperl' strict volatile
> the function will compile and execute.
Utterly unrelated ...
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Frank D. Engel, Jr. | 2005-01-17 16:11:35 | Re: Problem with win32 installer for PG 8.0 |
Previous Message | Tom Lane | 2005-01-17 16:07:27 | Re: Index optimization ? |