Re: PL/Perl

From: Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz>
To: "ON(dot)KG" <skyer(at)on(dot)kg>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PL/Perl
Date: 2005-01-07 16:36:30
Message-ID: Pine.LNX.4.44.0501071735500.21154-100000@kix.fsv.cvut.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,
you have to use plperlu, untrusted plperl

regards
Pavel Stehule

On Fri, 7 Jan 2005, ON.KG wrote:

> Hi!
>
> Could I use "use", "require" functions in plperl?
>
> for example,
>
> CREATE OR REPLACE FUNCTION perl_func (text)
> RETURNS real
> AS '
> use HTTP::Request;
> use HTTP::Headers;
> ....
> return $value;
> '
> LANGUAGE 'plperl';
>
>
> with me it doesn't work and returns error message
> "Query failed: ERROR: creation of function failed: 'require' trapped by
> operation mask at (eval 2) line 2. in ..."
>
> Thanx
>
>
> ---------------------------(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
>

In response to

  • PL/Perl at 2005-01-07 18:17:36 from ON.KG

Browse pgsql-general by date

  From Date Subject
Next Message Astha Raj 2005-01-07 16:38:40 Re: unsubscribe
Previous Message Astha Raj 2005-01-07 16:32:06 unsubscribe