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 tell postgres which install of python to use when invoking plpython? No, that it determined at build time. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services