pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: How to control which Python interpreter Postgres uses?
Date: Mon, 1 Nov 2021 20:52:27 -0500
Message-ID: <3ad0a272-3ed1-3a9b-dfd3-22157283e278@gmail.com> (raw)
In-Reply-To: <CY4PR19MB11601C0A90A33E6FC24D8C70B58A9@CY4PR19MB1160.namprd19.prod.outlook.com>
References: <CY4PR19MB1160F38876C947812CA2CD63B58A9@CY4PR19MB1160.namprd19.prod.outlook.com>
	<1311504.1635804203@sss.pgh.pa.us>
	<CY4PR19MB11601C0A90A33E6FC24D8C70B58A9@CY4PR19MB1160.namprd19.prod.outlook.com>

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@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: <3ad0a272-3ed1-3a9b-dfd3-22157283e278@gmail.com>
Permalink:  ../3ad0a272-3ed1-3a9b-dfd3-22157283e278@gmail.com/
Also on:    postgresql.org/message-id/3ad0a272-3ed1-3a9b-dfd3-22157283e278@gmail.com

 · 

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: ronljohnsonjr@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: How to control which Python interpreter Postgres uses?
  In-Reply-To: <3ad0a272-3ed1-3a9b-dfd3-22157283e278@gmail.com>

* 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