Re: How to make it work? (PL/Perl + Net::LDAP) - Mailing list pgsql-general

From Joshua D. Drake
Subject Re: How to make it work? (PL/Perl + Net::LDAP)
Date
Msg-id 469AF5B9.1030903@commandprompt.com
Whole thread Raw
In response to How to make it work? (PL/Perl + Net::LDAP)  (Bruno Lavoie <bruno.lavoie@gmail.com>)
List pgsql-general
Bruno Lavoie wrote:
> hello,

> if ($mesg == 0) {
>  return true;
> } else {
>  return false;
> }
> $body$
> LANGUAGE 'plperl' VOLATILE CALLED ON NULL INPUT SECURITY INVOKER;
>
>
> WHY:
>    compile without the use Net::LDAP and crash at runtime...?
>    don't compiles with the use of Net::LDAP?

You need plperlu not plperl. plperl can't go outside of postgresql.

Joshua D. Drake

>
> thanks a lot!
> Bruno
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
>       choose an index scan if your joining column's datatypes do not
>       match
>


--

       === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive  PostgreSQL solutions since 1997
              http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/


pgsql-general by date:

Previous
From: Bruno Lavoie
Date:
Subject: How to make it work? (PL/Perl + Net::LDAP)
Next
From: "Stuart Cooper"
Date:
Subject: Re: How to make it work? (PL/Perl + Net::LDAP)