Search Postgresql Archives

Re: PL/Perl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux