Discussion:
Perl Modules in PL/Perl functions
(too old to reply)
Haron, Charles
2004-07-09 16:22:45 UTC
Permalink
Hello,

I want to use Mail::Sender in a PL/Perl function. In order to use the
Mail::Sender module, do I simply use a 'use' statement in the function
definition (i.e. "use Maile::Sender;")?

Regards,
Charles


---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match
mike g
2004-07-10 03:10:03 UTC
Permalink
Only if Perl has been installed as an untrusted language I believe.

See http://www.postgresql.org/docs/7.4/static/plperl-trusted.html
Post by Haron, Charles
Hello,
I want to use Mail::Sender in a PL/Perl function. In order to use the
Mail::Sender module, do I simply use a 'use' statement in the function
definition (i.e. "use Maile::Sender;")?
Regards,
Charles
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match
---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Loading...