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

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: How to make it work? (PL/Perl + Net::LDAP)
Дата
Msg-id 469AF5B9.1030903@commandprompt.com
обсуждение исходный текст
Ответ на How to make it work? (PL/Perl + Net::LDAP)  (Bruno Lavoie <bruno.lavoie@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Bruno Lavoie
Дата:
Сообщение: How to make it work? (PL/Perl + Net::LDAP)
Следующее
От: "Stuart Cooper"
Дата:
Сообщение: Re: How to make it work? (PL/Perl + Net::LDAP)