Re: a common place for pl/perlu modules

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: a common place for pl/perlu modules
Дата
Msg-id 4B742F25.7050704@dunslane.net
обсуждение исходный текст
Ответ на a common place for pl/perlu modules  (Alexey Klyukin <alexk@commandprompt.com>)
Ответы Re: a common place for pl/perlu modules
Список pgsql-hackers

Alexey Klyukin wrote:
> Hello,
>
> When developing pl/perlu functions common definitions and methods are often stored in external .pm modules. During
deploymentthe modules should be installed somewhere in @INC to be reachable by the perl interpreter. However,
installingthe modules to a location outside of the PG installation makes it hard to have a consistent environment when
runningmultiple PG versions on the same host. What do you think about defining a canonical place for pl/perlu .pm
modules(i.e. PKGLIBDIR) and adding this location to @INC during the interpreter initialization ? Another idea is to
allowa user to specify such location by adding a new custom GUC variable.
 
>
>
>   

Why won't setting this in the new on_perl_init setting work? It's even 
included in to documented examples using the standard lib module: 
<http://developer.postgresql.org/pgdocs/postgres/plperl-under-the-hood.html#PLPERL-CONFIG>

cheers

andrew


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Hostnames in pg_hba.conf
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Re: [COMMITTERS] pgsql: Remove old-style VACUUM FULL (which was known for a little while