a common place for pl/perlu modules
От
Alexey Klyukin
Тема
a common place for pl/perlu modules
Дата
Msg-id
FDD4AD42-84B1-43D8-AE79-115E7F2D0F9E@commandprompt.com
Список
Дерево обсуждения
a common place for pl/perlu modules Alexey Klyukin <alexk@commandprompt.com>
Re: a common place for pl/perlu modules Andrew Dunstan <andrew@dunslane.net>
Re: a common place for pl/perlu modules Alexey Klyukin <alexk@commandprompt.com>
Re: a common place for pl/perlu modules Andrew Dunstan <andrew@dunslane.net>
Re: a common place for pl/perlu modules Alexey Klyukin <alexk@commandprompt.com>
Hello, When developing pl/perlu functions common definitions and methods are often stored in external .pm modules. During deployment the modules should be installed somewhere in @INC to be reachable by the perl interpreter. However, installing the modules to a location outside of the PG installation makes it hard to have a consistent environment when running multiple 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 allow a user to specify such location by adding a new custom GUC variable. -- Alexey Klyukin http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc
В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Priit Laes
Дата: