Re: PL/Perl

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: PL/Perl
Дата
Msg-id 41E3B094.30107@archonet.com
обсуждение исходный текст
Ответ на PL/Perl  ("ON.KG" <skyer@on.kg>)
Список 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 по дате отправления:

Предыдущее
От: Ragnar Hafstað
Дата:
Сообщение: Re: PL/Perl
Следующее
От: "Jason Tesser"
Дата:
Сообщение: views in 8.0