Re: How to control which Python interpreter Postgres uses? - Mailing list pgsql-admin

From Ron
Subject Re: How to control which Python interpreter Postgres uses?
Date
Msg-id 3ad0a272-3ed1-3a9b-dfd3-22157283e278@gmail.com
Whole thread Raw
In response to Re: How to control which Python interpreter Postgres uses?  (Ni Ne <nineoften@hotmail.com>)
Responses Re: How to control which Python interpreter Postgres uses?  (Ilya Anfimov <ilan@tzirechnoy.com>)
List pgsql-admin
Why would recompiling Python affect what Postgresql points to?

On 11/1/21 5:06 PM, Ni Ne wrote:
P {margin-top:0;margin-bottom:0;}
Would I recompile the plpython package or postgres itself?


From: Tom Lane <tgl@sss.pgh.pa.us>
Sent: Monday, November 1, 2021 4:03 PM
To: Ni Ne <nineoften@hotmail.com>
Cc: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
Subject: Re: How to control which Python interpreter Postgres uses?
 
Ni Ne <nineoften@hotmail.com> writes:
> How can I adjust my postgres settings to tell it which Python interpreter binary to use?

You'd have to recompile plpython against the particular libpython
you want to use.

                        regards, tom lane

--
Angular momentum makes the world go 'round.

pgsql-admin by date:

Previous
From: Ni Ne
Date:
Subject: Re: How to control which Python interpreter Postgres uses?
Next
From: Ilya Anfimov
Date:
Subject: Re: How to control which Python interpreter Postgres uses?