pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alan Nilsson <anilsson@apple.com>
To: pgsql-general@lists.postgresql.org
Subject: python install location
Date: Wed, 06 Mar 2019 16:12:24 -0800
Message-ID: <9AD5039A-4ADF-422E-8790-E116F5129F52@apple.com> (raw)

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?

thanks
alan





view thread (3+ messages)  latest in thread

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