Re: How to control which Python interpreter Postgres uses?

From: Ilya Anfimov <ilan(at)tzirechnoy(dot)com>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: How to control which Python interpreter Postgres uses?
Date: 2021-11-02 06:24:51
Message-ID: 20211102062450.GA1678439@azor.tzirechnoy.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Mon, Nov 01, 2021 at 08:52:27PM -0500, Ron wrote:
> Why would recompiling Python affect what Postgresql points to?

Not python, but plpython. The extension that adds python
as a server programming language to postgres.
>
> On 11/1/21 5:06 PM, Ni Ne wrote:
>
> 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
>
> --
> Angular momentum makes the world go 'round.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Ilya Anfimov 2021-11-02 06:31:58 Re: How to control which Python interpreter Postgres uses?
Previous Message Ron 2021-11-02 01:52:27 Re: How to control which Python interpreter Postgres uses?