Обсуждение: Perl Modules in PL/Perl functions

Поиск
Список
Период
Сортировка

Perl Modules in PL/Perl functions

От
"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


Re: Perl Modules in PL/Perl functions

От
mike g
Дата:
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