Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dcFsB-0003gm-5e for pgsql-hackers@arkaria.postgresql.org; Mon, 31 Jul 2017 18:56:59 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dcFsA-0000mf-Gi for pgsql-hackers@arkaria.postgresql.org; Mon, 31 Jul 2017 18:56:58 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dcFqe-0006V6-2Y for pgsql-hackers@postgresql.org; Mon, 31 Jul 2017 18:55:24 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dcFqb-0000A8-Ju for pgsql-hackers@postgresql.org; Mon, 31 Jul 2017 18:55:22 +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 v6VItGsW009073; Mon, 31 Jul 2017 14:55:16 -0400 From: Tom Lane To: Peter Eisentraut cc: Noah Misch , Andrew Dunstan , pgsql-hackers@postgresql.org Subject: Re: PL_stashcache, or, what's our minimum Perl version? In-reply-to: References: <20540.1501210115@sss.pgh.pa.us> <16894.1501392088@sss.pgh.pa.us> <20170730154814.GA2636941@rfd.leadboat.com> <22744.1501430710@sss.pgh.pa.us> <20170730163054.GA2630977@rfd.leadboat.com> <25937.1501433410@sss.pgh.pa.us> Comments: In-reply-to Peter Eisentraut message dated "Mon, 31 Jul 2017 14:49:26 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <9071.1501527316.1@sss.pgh.pa.us> Date: Mon, 31 Jul 2017 14:55:16 -0400 Message-ID: <9072.1501527316@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Peter Eisentraut writes: > On 7/30/17 12:50, Tom Lane wrote: >> The reason it does that seems to be that we use AC_CHECK_PROGS >> rather than AC_PATH_PROGS for locating "prove". I can see no >> particular consistency to the decisions made in configure.in >> about which to use: > We use the "PATH" variants when we need a fully qualified name. For > example, at some point or another, we needed to substitute a fully > qualified perl binary name into the headers of scripts. > If there is no such requirement, then we should use the non-PATH variants. Why? That risks failures of various sorts, and you have not stated any actual benefit of it. In cases where people do things like sticking non-default Perl builds into nonstandard places, failing to record the absolute path to the program configure saw is both a documentation fail and a clear hazard to build reproducibility. I think that "you can change your PATH and get a different Perl version without reconfiguring" is an anti-feature, because it poses a very high risk of not actually working. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers