Skip site navigation (1) Skip section navigation (2)

Re: plperl user function

From: Olivier Thauvin <olivier(dot)thauvin(at)aerov(dot)jussieu(dot)fr>
To: KeithW(at)narrowpathinc(dot)com
Cc: "PostgreSQL Novice" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: plperl user function
Date: 2005-04-21 20:23:26
Message-ID: 200504212223.26819.olivier.thauvin@aerov.jussieu.fr (view raw or flat)
Thread:
Lists: 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.

In response to

pgsql-novice by date

Next:From: Walker, Jed SDate: 2005-04-21 21:50:04
Subject: Granting permission on a sequence to a group
Previous:From: Volkan YAZICIDate: 2005-04-21 20:18:57
Subject: lo_creat SQL command

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group