Re: PL/Perl

From: Richard Huxton <dev(at)archonet(dot)com>
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:55:16
Message-ID: 41E3B094.30107@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

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 ON.KG 2005-01-11 11:59:55 PL/Perl
Previous Message Ragnar Hafstað 2005-01-11 10:54:44 Re: PL/Perl