Re: plperl user function

Поиск
Список
Период
Сортировка
От Olivier Thauvin
Тема Re: plperl user function
Дата
Msg-id 200504212223.26819.olivier.thauvin@aerov.jussieu.fr
обсуждение исходный текст
Ответ на plperl user function  ("Keith Worthington" <keithw@narrowpathinc.com>)
Список 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.

Вложения

В списке pgsql-novice по дате отправления:

Предыдущее
От: Volkan YAZICI
Дата:
Сообщение: lo_creat SQL command
Следующее
От: "Walker, Jed S"
Дата:
Сообщение: Granting permission on a sequence to a group