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 1ggHec-0001Yf-4g for pgsql-hackers@arkaria.postgresql.org; Sun, 06 Jan 2019 23:16:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ggHeY-0006l1-W3 for pgsql-hackers@arkaria.postgresql.org; Sun, 06 Jan 2019 23:16:22 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ggHeY-0006gT-Bk for pgsql-hackers@lists.postgresql.org; Sun, 06 Jan 2019 23:16:22 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ggHeQ-0001Yo-M7 for pgsql-hackers@postgresql.org; Sun, 06 Jan 2019 23:16:21 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x06NG75j030673; Sun, 6 Jan 2019 18:16:07 -0500 From: Tom Lane To: Peter Eisentraut cc: Andres Freund , Jeremy Harris , "pgsql-hackers@postgresql.org" Subject: Re: Python versions (was Re: RHEL 8.0 build) In-reply-to: <77431a1e-be15-36aa-d15f-112f099d5717@2ndquadrant.com> References: <30378.1543092565@sss.pgh.pa.us> <20181125215109.2gvd2qdkugvi74sv@alap3.anarazel.de> <1457.1543184081@sss.pgh.pa.us> <5b0db65c-4865-4a63-67a2-f575f56a227c@2ndquadrant.com> <20181127173012.hgvrkqd7gncwyfmw@alap3.anarazel.de> <044b778b-2086-1c3e-4ee0-fb688a7b0b80@2ndquadrant.com> <16186.1543441296@sss.pgh.pa.us> <27383.1543505646@sss.pgh.pa.us> <77431a1e-be15-36aa-d15f-112f099d5717@2ndquadrant.com> Comments: In-reply-to Peter Eisentraut message dated "Thu, 03 Jan 2019 15:00:41 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <30671.1546816567.1@sss.pgh.pa.us> Date: Sun, 06 Jan 2019 18:16:07 -0500 Message-ID: <30672.1546816567@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Peter Eisentraut writes: > I think this was the option with the most support. Here is a patch. BTW, this is a pre-existing problem not the fault of this patch, but while we're fooling with the behavior of python lookup would be a great time to fix it: we should add something like AC_ARG_VAR([PYTHON], [path to Python executable]) Aside from improving the "configure --help" documentation, this will prevent insane results from using inapplicable cached conclusions about what Python we've got. Since more and more people seem to be using configure cache files, I think we need to be more careful about declaring relevant variables. regards, tom lane