Re: [PATCHES] WIP 2 interpreters for plperl

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: [PATCHES] WIP 2 interpreters for plperl
Дата
Msg-id 20061121101357.GA7205@svana.org
обсуждение исходный текст
Ответ на Re: [PATCHES] WIP 2 interpreters for plperl  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
On Mon, Nov 20, 2006 at 04:14:34PM -0500, Andrew Dunstan wrote:
> Jim Buttafuoco wrote:
> >I might be one of the ones who depends on the same interpreter.  In your
> >new
> >scheme, the _SHARED hash will only be shared between like interpreters,
> >correct?  This is going to force me to switch all of my perl code to use
> >the
> >plperlu interpreter :(
>
> Yes. Sorry, but I can't see any way around it. If anyone can suggest one
> then speak up loudly ASAP.

Since the stuff plperlu should be small and self contained, you just
need to set it up so all the data needed by the plperlu function is
passed as a parameter. I suppose we'd need to look at the use case to
see if this is a real obsticle.

I suppose you're not permitted to call other perl functions directly
with \%_SHARED as a parameter, right?

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: [PATCHES] WIP 2 interpreters for plperl
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: [GENERAL] Client SSL validation using root.crt