Thread: Perl Modules in PL/Perl functions

Perl Modules in PL/Perl functions

From
"Haron, Charles"
Date:
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


Re: Perl Modules in PL/Perl functions

From
mike g
Date:
Only if Perl has been installed as an untrusted language I believe.

See http://www.postgresql.org/docs/7.4/static/plperl-trusted.html


On Fri, 2004-07-09 at 11:22, Haron, Charles wrote:
> 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