plperl and inline functions -- first draft

Поиск
Список
Период
Сортировка
От Joshua Tolley
Тема plperl and inline functions -- first draft
Дата
Msg-id 20091105223706.GW28186@eddie
обсуждение исходный текст
Ответы Re: plperl and inline functions -- first draft  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
I've been trying to make pl/perl support 8.5's inline functions, with the
attached patch. The basics seem to be there, with at least one notable
exception, namely that plperl functions can do stuff only plperlu should do. I
presume this is because I really don't understand yet how plperl's trusted
interpreter initialization works, and have simply copied what looked like
important stuff from the original plperl call handler. I tested with this to
prove it:

    DO $$ qx{touch test.txt}; $$ language plperl;

This works both with plperl and plperlu. Hints, anyone? Comments?

--
Joshua Tolley / eggyknap
End Point Corporation
http://www.endpoint.com

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: magic constant -1
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: plperl and inline functions -- first draft