Re: PL/Perl

Поиск
Список
Период
Сортировка
От Ragnar Hafstað
Тема Re: PL/Perl
Дата
Msg-id 1105440885.11499.74.camel@localhost.localdomain
обсуждение исходный текст
Ответ на PL/Perl  ("ON.KG" <skyer@on.kg>)
Список pgsql-general
On Tue, 2005-01-11 at 14:59 +0300, ON.KG wrote:

> I'm trying in 'plperl' forking the processes by 'fork' function,
> but receiving this message
>
> Warning: pg_exec(): Query failed: ERROR: creation of function failed: 'fork' trapped by operation mask at (eval 2)
line11. 
>
> Does it mean, that in 'plperl' I can't use 'fork' function???

there are 2 variants of the language: plperl and plperlu

plperlu is 'untrusted', that is, it is allowed to do dangerous stuff,
but plperl is more limited and can be used by a user without privileges.

OTOH, i doubt that fork is allowed even in plperlu, as i
imagine it could have weird effects on the backend.

gnari



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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Private or publice function
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: PL/Perl