How to tell PostgreSQL to use other Perl-Version? -
im working on ubuntu 14.04 64bit machine. need use perl 5.14 work modules wont install newest version of perl (5.18). postgresql-9.3 server needs install perl 5.18 while installing postgres-plperl. therefore want tell postgres use 5.14 version havent found way that. there way that?
you must recompile plperl extension against 5.14 if need this. postgresql links against perl library, , perl libraries aren't abi-compatible across releases, can't substitute 5.14 5.18 @ runtime.
you can change perl version used performing install of postgresql source , specifying correct perl install path configure using --with-perl or path env var.
or can apt-get source postgresql-9.3 , edit debian/rules use desired perl, edit debian/control specify correct perl dependency, , rebuild package.
it makes lot more sense instead fix modules.
Comments
Post a Comment