Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h1geN-0007O2-8i for pgsql-general@arkaria.postgresql.org; Thu, 07 Mar 2019 00:12:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h1geL-0006wW-VR for pgsql-general@arkaria.postgresql.org; Thu, 07 Mar 2019 00:12:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h1geL-0006w1-G9 for pgsql-general@lists.postgresql.org; Thu, 07 Mar 2019 00:12:37 +0000 Received: from ma1-aaemail-dr-lapp01.apple.com ([17.171.2.60]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h1geJ-00039z-2D for pgsql-general@lists.postgresql.org; Thu, 07 Mar 2019 00:12:36 +0000 Received: from pps.filterd (ma1-aaemail-dr-lapp01.apple.com [127.0.0.1]) by ma1-aaemail-dr-lapp01.apple.com (8.16.0.27/8.16.0.27) with SMTP id x27025es029687 for ; Wed, 6 Mar 2019 16:12:32 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apple.com; h=mime-version : content-transfer-encoding : content-type : sender : from : subject : message-id : date : to; s=20180706; bh=8LwfzTKxp/NgKvJY6vLqzBLJ+p7W3RG9jwK11pvRMcE=; b=ZUvkMzealIg3MPfcpPPRr1HWV83YuV6jHo2S0XKAtM5D1VrhRdiKiEDG75pvaH2uVOx3 incU6spvbsxw0H09Ui3FI8oZw908LfB1o/ynKog0SMnk1Yh1VqzBVA150oY/TK5dcINE 4EQllGfY3hblYxfV8UV3rvOfE59QPxB2yWY2FboGXbM7RUb7XyoaKvFHrz/dAc3D8XDG PTOvRO8P0ZM69lLlcXkdsmqceKk2wSH9oopIChBy07N9NvD/v29bOztqyZ30wEF0Uhjd C6pEvrA7SXHLWgKnARSMTRVEC0SwM9sgeBNf0WcVf7S0v62JsBccX9Y4/5sWWhbTMjFn 6w== Received: from ma1-mtap-s03.corp.apple.com (ma1-mtap-s03.corp.apple.com [17.40.76.7]) by ma1-aaemail-dr-lapp01.apple.com with ESMTP id 2qysccex6a-5 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Wed, 06 Mar 2019 16:12:32 -0800 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from nwk-mmpp-sz13.apple.com (nwk-mmpp-sz13.apple.com [17.128.115.216]) by ma1-mtap-s03.corp.apple.com (Oracle Communications Messaging Server 8.0.2.3.20181024 64bit (built Oct 24 2018)) with ESMTPS id <0PNY007P5Z8G2690@ma1-mtap-s03.corp.apple.com> for pgsql-general@lists.postgresql.org; Wed, 06 Mar 2019 16:12:27 -0800 (PST) Received: from process_milters-daemon.nwk-mmpp-sz13.apple.com by nwk-mmpp-sz13.apple.com (Oracle Communications Messaging Server 8.0.2.3.20181024 64bit (built Oct 24 2018)) id <0PNY00B00YZ30B00@nwk-mmpp-sz13.apple.com> for pgsql-general@lists.postgresql.org; Wed, 06 Mar 2019 16:12:24 -0800 (PST) X-Va-A: X-Va-T-CD: b6d27d061e366eef29c7b1fe99fb22ae X-Va-E-CD: 527908e63e9596a0841d1bf0c5c07d25 X-Va-R-CD: 19cf6f8cc5449594f89d674e58c6b9f0 X-Va-CD: 0 X-Va-ID: f5bfcfb9-7e2a-4456-a606-9640216204cb X-V-A: X-V-T-CD: b6d27d061e366eef29c7b1fe99fb22ae X-V-E-CD: 527908e63e9596a0841d1bf0c5c07d25 X-V-R-CD: 19cf6f8cc5449594f89d674e58c6b9f0 X-V-CD: 0 X-V-ID: dd7cbaa3-f606-4646-b516-35a09b78335e X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-03-06_16:,, signatures=0 Received: from nilsson.apple.com ([17.222.223.0]) by nwk-mmpp-sz13.apple.com (Oracle Communications Messaging Server 8.0.2.3.20181024 64bit (built Oct 24 2018)) with ESMTPSA id <0PNY002ZMZ8OAUA0@nwk-mmpp-sz13.apple.com> for pgsql-general@lists.postgresql.org; Wed, 06 Mar 2019 16:12:24 -0800 (PST) Sender: anilsson@apple.com From: Alan Nilsson Subject: python install location Message-id: <9AD5039A-4ADF-422E-8790-E116F5129F52@apple.com> Date: Wed, 06 Mar 2019 16:12:24 -0800 To: pgsql-general@lists.postgresql.org X-Mailer: Apple Mail (2.3445.101.1) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-03-06_16:,, signatures=0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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