pg.ddx.io pgsql-general@postgresql.org mailing list archivehelp / color / mirror / Atom feed
python install location 3+ messages / 3 participants [nested] [flat]
* python install location @ 2019-03-07 00:12 Alan Nilsson <anilsson@apple.com> 2019-03-07 00:23 ` Re: python install location Adrian Klaver <adrian.klaver@aklaver.com> 2019-03-07 21:04 ` Re: python install location Peter Eisentraut <peter.eisentraut@2ndquadrant.com> 0 siblings, 2 replies; 3+ messages in thread From: Alan Nilsson @ 2019-03-07 00:12 UTC (permalink / raw) To: pgsql-general@lists.postgresql.org 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 postgres, short of rebuilding that we can tell postgres which install of python to use when invoking plpython? thanks alan ^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: python install location 2019-03-07 00:12 python install location Alan Nilsson <anilsson@apple.com> @ 2019-03-07 00:23 ` Adrian Klaver <adrian.klaver@aklaver.com> 1 sibling, 0 replies; 3+ messages in thread From: Adrian Klaver @ 2019-03-07 00:23 UTC (permalink / raw) To: Alan Nilsson <anilsson@apple.com>; pgsql-general@lists.postgresql.org 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 plpython extension. > > Is there a way, in postgres, short of rebuilding that we can tell postgres which install of python to use when invoking plpython? https://www.postgresql.org/docs/11/plpython-python23.html > > thanks > alan > > > -- Adrian Klaver adrian.klaver@aklaver.com ^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: python install location 2019-03-07 00:12 python install location Alan Nilsson <anilsson@apple.com> @ 2019-03-07 21:04 ` Peter Eisentraut <peter.eisentraut@2ndquadrant.com> 1 sibling, 0 replies; 3+ messages in thread From: Peter Eisentraut @ 2019-03-07 21:04 UTC (permalink / raw) To: Alan Nilsson <anilsson@apple.com>; pgsql-general@lists.postgresql.org 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 ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2019-03-07 21:04 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2019-03-07 00:12 python install location Alan Nilsson <anilsson@apple.com> 2019-03-07 00:23 ` Adrian Klaver <adrian.klaver@aklaver.com> 2019-03-07 21:04 ` Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox