Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dcGDk-0004xz-TF for pgsql-hackers@arkaria.postgresql.org; Mon, 31 Jul 2017 19:19:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dcGDk-0007l6-A9 for pgsql-hackers@arkaria.postgresql.org; Mon, 31 Jul 2017 19:19:16 +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 1dcGCD-0004vC-1J for pgsql-hackers@postgresql.org; Mon, 31 Jul 2017 19:17:41 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dcGC9-0000ff-Vs for pgsql-hackers@postgresql.org; Mon, 31 Jul 2017 19:17:39 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id BE0FC20991; Mon, 31 Jul 2017 15:17:36 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute7.internal (MEProxy); Mon, 31 Jul 2017 15:17:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=OSEIGgr1Q1IAW25rpamU2JQxSxn6S7g4JwavQJLsJJg=; b=QkNIzNvZ fyng9cTgjFy7t9lXKLzKn9xwhW0ac/YWWgc4TsqrksFjI1v6d6CYHnJfozMqAYNP 4dxuFk4N5pgt7LtBQfQ0CjtE1V/htln6IqvUNv1ht4U3hAke3tyYmQ5O4+8YBKqY ewy/Z1mpQ/UNrcY9pcWFzsrRW/QgS+wReu/9b+1SWQmLsZf8LEgVO/y57j9CWScI +3zOrUW+I8P2h+Q73HVoGERTNbVfvzBsiR6i8OxGuRFbnU1QlStTyBlCm9rgDUdL hND5APRjN8eKzG01SR8FD381hGBV5X0sCJr6RxqynBEGPtdM0U8BZEjQ1t1zR8yv vbd6sxAISJ8NPQ== X-ME-Sender: X-Sasl-enc: 97tbBiysORMwNQiZ/rqplnLeJ7wMY14OCYaS25Nd5kd0 1501528656 Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id 6D97E24640; Mon, 31 Jul 2017 15:17:36 -0400 (EDT) Subject: Re: PL_stashcache, or, what's our minimum Perl version? To: Tom Lane 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> <9072.1501527316@sss.pgh.pa.us> Cc: Noah Misch , Andrew Dunstan , pgsql-hackers@postgresql.org From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <90a92a7d-938e-507a-3bd7-ecd2b4004689@2ndquadrant.com> Date: Mon, 31 Jul 2017 15:17:36 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <9072.1501527316@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit 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 On 7/31/17 14:55, Tom Lane wrote: >> 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. What I wrote is merely a description of the current practice. That practice was in turn developed out of ancient Autoconf standard practices. There are arguments to be made for doing it differently. One major PITA with the AC_PATH_* checks is that you can only override them with environment variables that are full paths; otherwise the environment variables are ignored. For example, currently, running ./configure PYTHON=python3 will result in the PYTHON setting being ignored. Currently, this only affects a small number of variables, but if we expanded that, it would be a pretty significant usability change. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers