Re: plperl user function - Mailing list pgsql-novice

From Olivier Thauvin
Subject Re: plperl user function
Date
Msg-id 200504212223.26819.olivier.thauvin@aerov.jussieu.fr
Whole thread Raw
In response to plperl user function  ("Keith Worthington" <keithw@narrowpathinc.com>)
List pgsql-novice
Le Thursday 21 April 2005 21:38, Keith Worthington a écrit :
> This leaves me with two questions.
> 1)  Why can I not use "use strict;" or "use warnings;" as they are
> apparently good perl programming practice.  I say apparently because if you
> remember I started learning this language 3 days ago and must be considered
> a neophyte. :-)

You can't use "use" instruction for security reason. All disk access are
denied and use need a disk access.

I think you need to use plperlu.

see: http://www.postgresql.org/docs/8.0/interactive/plperl-trusted.html

> 2)  What is wrong with the use of RETURN?

Don't understand myself.

Attachment

pgsql-novice by date:

Previous
From: Volkan YAZICI
Date:
Subject: lo_creat SQL command
Next
From: "Walker, Jed S"
Date:
Subject: Granting permission on a sequence to a group