pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Alan Nilsson <anilsson@apple.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: python install location
Date: Thu, 7 Mar 2019 22:04:35 +0100
Message-ID: <113663a1-3d69-13ae-a10f-96df59848d39@2ndquadrant.com> (raw)
In-Reply-To: <9AD5039A-4ADF-422E-8790-E116F5129F52@apple.com>
References: <9AD5039A-4ADF-422E-8790-E116F5129F52@apple.com>

On 2019-03-07 01:12, Alan Nilsson wrote:
> How does postgres determine which install of python to use in conjunction with plpythonu?

It looks for a "python" program and then uses that to find the location
of the required library.

> Is there a way, in postgres, short of rebuilding that we can tell postgres which install of python to use when invoking plpython?

No, that it determined at build time.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services




view thread (3+ messages)

Message-ID: <113663a1-3d69-13ae-a10f-96df59848d39@2ndquadrant.com>
Permalink:  ../113663a1-3d69-13ae-a10f-96df59848d39@2ndquadrant.com/
Also on:    postgresql.org/message-id/113663a1-3d69-13ae-a10f-96df59848d39@2ndquadrant.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, anilsson@apple.com
  Subject: Re: python install location
  In-Reply-To: <113663a1-3d69-13ae-a10f-96df59848d39@2ndquadrant.com>
  References: <9AD5039A-4ADF-422E-8790-E116F5129F52@apple.com> <113663a1-3d69-13ae-a10f-96df59848d39@2ndquadrant.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