Re: How to control which Python interpreter Postgres uses?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Why would recompiling Python affect what Postgresql points to?

On 11/1/21 5:06 PM, Ni Ne wrote:
Would I recompile the plpython package or postgres itself?


From: Tom Lane <tgl@xxxxxxxxxxxxx>
Sent: Monday, November 1, 2021 4:03 PM
To: Ni Ne <nineoften@xxxxxxxxxxx>
Cc: pgsql-admin@xxxxxxxxxxxxxxxxxxxx <pgsql-admin@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: How to control which Python interpreter Postgres uses?
 
Ni Ne <nineoften@xxxxxxxxxxx> 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.

[Index of Archives]     [Postgresql Home]     [Postgresql General]     [Postgresql Performance]     [Postgresql PHP]     [Postgresql Jobs]     [PHP Users]     [PHP Databases]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Forum]

  Powered by Linux