Обсуждение: plperl question: how to specifiy perl version?
Hi, I setup a plperl handler in Postgres 8.1 running under Solaris. The machine has multiple versions of Perl installed, and plperl is not using the correct Perl binary. How do I set which Perl binary plperl should use? Thanks -Dave
-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 > I setup a plperl handler in Postgres 8.1 running under Solaris. The > machine has multiple versions of Perl installed, and plperl is not using > the correct Perl binary. How do I set which Perl binary plperl should use? You need to set the PERL environment variable before running ./configure. Not sure when this was added - if it doesn't work for your version of Postgres, you can also fiddle with the PATH. - -- Greg Sabino Mullane greg@turnstep.com PGP Key: 0x14964AC8 200703151208 http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 -----BEGIN PGP SIGNATURE----- iD8DBQFF+W/KvJuQZxSWSsgRAzQRAKD19GcOc+50Y15lruQ+o/iVln8wMgCeJIjv azShu4leT7aqEhvwfqgle9Q= =6fjs -----END PGP SIGNATURE----- ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@postgresql.org so that your message can get through to the mailing list cleanly
-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 > I setup a plperl handler in Postgres 8.1 running under Solaris. The > machine has multiple versions of Perl installed, and plperl is not using > the correct Perl binary. How do I set which Perl binary plperl should use? You need to set the PERL environment variable before running ./configure. Not sure when this was added - if it doesn't work for your version of Postgres, you can also fiddle with the PATH. - -- Greg Sabino Mullane greg@turnstep.com PGP Key: 0x14964AC8 200703151208 http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 -----BEGIN PGP SIGNATURE----- iD8DBQFF+W/KvJuQZxSWSsgRAzQRAKD19GcOc+50Y15lruQ+o/iVln8wMgCeJIjv azShu4leT7aqEhvwfqgle9Q= =6fjs -----END PGP SIGNATURE----- ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@postgresql.org so that your message can get through to the mailing list cleanly