Re: PL/Perl - Mailing list pgsql-general

From Richard Huxton
Subject Re: PL/Perl
Date
Msg-id 41E3B094.30107@archonet.com
Whole thread Raw
In response to PL/Perl  ("ON.KG" <skyer@on.kg>)
List pgsql-general
ON.KG wrote:
> Hi All!
>
> 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???

Think about it - you're trying to fork an active database backend.
Personally, I'd decouple things and fetch webpages/files from outside
the database anyway.

You might find the documentation on NOTIFY/LISTEN useful.

--
   Richard Huxton
   Archonet Ltd

pgsql-general by date:

Previous
From: Ragnar Hafstað
Date:
Subject: Re: PL/Perl
Next
From: "Jason Tesser"
Date:
Subject: views in 8.0