Re: How to control which Python interpreter Postgres uses?

From: Ni Ne <nineoften(at)hotmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: How to control which Python interpreter Postgres uses?
Date: 2021-11-01 22:06:00
Message-ID: CY4PR19MB11601C0A90A33E6FC24D8C70B58A9@CY4PR19MB1160.namprd19.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Would I recompile the plpython package or postgres itself?

________________________________
From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Sent: Monday, November 1, 2021 4:03 PM
To: Ni Ne <nineoften(at)hotmail(dot)com>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: How to control which Python interpreter Postgres uses?

Ni Ne <nineoften(at)hotmail(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Wells Oliver 2021-11-01 23:08:01 Re: How to control which Python interpreter Postgres uses?
Previous Message Tom Lane 2021-11-01 22:03:23 Re: How to control which Python interpreter Postgres uses?