Re: plperl/plperlu interaction

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: plperl/plperlu interaction
Дата
Msg-id 45412C65.1040504@dunslane.net
обсуждение исходный текст
Ответ на Re: plperl/plperlu interaction  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: plperl/plperlu interaction  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
>   
>> You can also examine the output from perl -V
>>     
>
> I think we've already established that we won't be able to ignore the
> case of not having support for multiple perl interpreters :-(
>
> So it seems we have these choices:
>
> 1. Do nothing (document it as a feature not a bug)
>
> 2. Support separate interpreters if possible, do nothing if not
>    (still needs documentation)
>
> 3. Support separate interpreters if possible, refuse to run both plperl
>    and plperlu functions in the same backend if not.
>
> Any other compromises possible?
>
>   

How would we decide which wins in the third case? "first in" seems 
rather arbitrary. If we went that way I'd probably plump for just 
plperlu to be allowed. The the worst effect would be that the functions 
would have to be created by the superuser. It would be a great pity, of 
course - this threatens to do horrible things to portability ;-(

I guess another possibility would be to allow 3 to be overridden by a 
switch to become 2.

cheers

andrew



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] GUC description cleanup
Следующее
От: Tom Lane
Дата:
Сообщение: Re: plperl/plperlu interaction