File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11/**********************************************************************
22 * plperl.c - perl as a procedural language for PostgreSQL
33 *
4- * $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.134 2007/12/01 17:58:42 tgl Exp $
4+ * $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.135 2008/01/22 20: 17:37 adunstan Exp $
55 *
66 **********************************************************************/
77
@@ -272,8 +272,8 @@ _PG_init(void)
272272 "sub ::mksafefunc {" \
273273 " my $ret = $PLContainer->reval(qq[sub { $_[0] $_[1] }]); " \
274274 " $@ =~ s/\\(eval \\d+\\) //g if $@; return $ret; }" \
275- "$PLContainer->permit(' require' ); $PLContainer->reval('use strict;');" \
276- "$PLContainer->deny(' require'); " \
275+ "$PLContainer->permit(qw[ require caller] ); $PLContainer->reval('use strict;');" \
276+ "$PLContainer->deny(qw[ require caller]); " \
277277 "sub ::mk_strict_safefunc {" \
278278 " my $ret = $PLContainer->reval(qq[sub { BEGIN { strict->import(); } $_[0] $_[1] }]); " \
279279 " $@ =~ s/\\(eval \\d+\\) //g if $@; return $ret; }"
You can’t perform that action at this time.
0 commit comments