Re: python install location

2019-03-07 Thread Peter Eisentraut
On 2019-03-07 01:12, Alan Nilsson wrote: > How does postgres determine which install of python to use in conjunction > with plpythonu? It looks for a "python" program and then uses that to find the location of the required library. > Is there a way, in postgres, short of rebuilding that we can t

Re: python install location

2019-03-06 Thread Adrian Klaver
On 3/6/19 4:12 PM, Alan Nilsson wrote: How does postgres determine which install of python to use in conjunction with plpythonu? We have a CentOS6 machine with python 2.6 and 2.7 installed on it. The 2.6 version is in the canonical location and the version which gets used when using the plpy

python install location

2019-03-06 Thread Alan Nilsson
How does postgres determine which install of python to use in conjunction with plpythonu? We have a CentOS6 machine with python 2.6 and 2.7 installed on it. The 2.6 version is in the canonical location and the version which gets used when using the plpython extension. Is there a way, in postg