pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ilya Anfimov <ilan@tzirechnoy.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: How to control which Python interpreter Postgres uses?
Date: Tue, 2 Nov 2021 09:24:51 +0300
Message-ID: <20211102062450.GA1678439@azor.tzirechnoy.ru> (raw)
In-Reply-To: <3ad0a272-3ed1-3a9b-dfd3-22157283e278@gmail.com>
References: <CY4PR19MB1160F38876C947812CA2CD63B58A9@CY4PR19MB1160.namprd19.prod.outlook.com>
	<1311504.1635804203@sss.pgh.pa.us>
	<CY4PR19MB11601C0A90A33E6FC24D8C70B58A9@CY4PR19MB1160.namprd19.prod.outlook.com>
	<3ad0a272-3ed1-3a9b-dfd3-22157283e278@gmail.com>

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@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.





view thread (9+ messages)  latest in thread

Message-ID: <20211102062450.GA1678439@azor.tzirechnoy.ru>
Permalink:  ../20211102062450.GA1678439@azor.tzirechnoy.ru/
Also on:    postgresql.org/message-id/20211102062450.GA1678439@azor.tzirechnoy.ru

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: ilan@tzirechnoy.com, pgsql-admin@lists.postgresql.org
  Subject: Re: How to control which Python interpreter Postgres uses?
  In-Reply-To: <20211102062450.GA1678439@azor.tzirechnoy.ru>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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