Re: PL/Perl

From: Ragnar Hafstað <gnari(at)simnet(dot)is>
To: "ON(dot)KG" <skyer(at)on(dot)kg>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PL/Perl
Date: 2005-01-11 10:54:44
Message-ID: 1105440885.11499.74.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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) line 11.
>
> 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

In response to

  • PL/Perl at 2005-01-11 11:59:55 from ON.KG

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2005-01-11 10:55:16 Re: PL/Perl
Previous Message Richard Huxton 2005-01-11 09:59:55 Re: Private or publice function