pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Alan Nilsson <anilsson@apple.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: python install location
Date: Wed, 6 Mar 2019 16:23:32 -0800
Message-ID: <ca703bbc-c5bf-a7ec-dcaa-00bdd6723e48@aklaver.com> (raw)
In-Reply-To: <9AD5039A-4ADF-422E-8790-E116F5129F52@apple.com>
References: <9AD5039A-4ADF-422E-8790-E116F5129F52@apple.com>

On 3/6/19 4:12 PM, Alan Nilsson wrote:
> How does postgres determine which install of python to use in conjunction with plpythonu?  We have a CentOS6 machine with python 2.6 and 2.7 installed on it.  The 2.6 version is in the canonical location and the version which gets used when using the plpython extension.
> 
> Is there a way, in postgres, short of rebuilding that we can tell postgres which install of python to use when invoking plpython?

https://www.postgresql.org/docs/11/plpython-python23.html

> 
> thanks
> alan
> 
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (3+ messages)  latest in thread

Message-ID: <ca703bbc-c5bf-a7ec-dcaa-00bdd6723e48@aklaver.com>
Permalink:  ../ca703bbc-c5bf-a7ec-dcaa-00bdd6723e48@aklaver.com/
Also on:    postgresql.org/message-id/ca703bbc-c5bf-a7ec-dcaa-00bdd6723e48@aklaver.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: adrian.klaver@aklaver.com, anilsson@apple.com
  Subject: Re: python install location
  In-Reply-To: <ca703bbc-c5bf-a7ec-dcaa-00bdd6723e48@aklaver.com>
  References: <9AD5039A-4ADF-422E-8790-E116F5129F52@apple.com> <ca703bbc-c5bf-a7ec-dcaa-00bdd6723e48@aklaver.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