Re: How to make it work? (PL/Perl + Net::LDAP)

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Bruno Lavoie <bruno(dot)lavoie(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to make it work? (PL/Perl + Net::LDAP)
Date: 2007-07-16 04:36:09
Message-ID: 469AF5B9.1030903@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stuart Cooper 2007-07-16 04:39:31 Re: How to make it work? (PL/Perl + Net::LDAP)
Previous Message Bruno Lavoie 2007-07-16 04:29:03 How to make it work? (PL/Perl + Net::LDAP)