loading plpython error

2019-02-14 Thread Alan Nilsson
Platform: Linux x86-64, CentOS 6, Postgres 11.1. We have installed from the YUM repo. The server runs fine but we are trying to add python support. yum install postrgesql11-contrib postgresql11-plpython I can see the installed files in the correct locations but when we invoke create extensio

Re: loading plpython error

2019-02-15 Thread Alan Nilsson
Indeed, that was it. Thank you Tom! alan > On Feb 14, 2019, at 4:42 PM, Tom Lane wrote: > > Alan Nilsson writes: >> Platform: Linux x86-64, CentOS 6, Postgres 11.1. >> We have installed from the YUM repo. The server runs fine but we are trying >> to add python

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