Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mwoUR-0004YC-B3 for pgsql-committers@arkaria.postgresql.org; Mon, 13 Dec 2021 16:47:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mwoUP-0007gA-67 for pgsql-committers@arkaria.postgresql.org; Mon, 13 Dec 2021 16:47:49 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mwoUO-0007g0-Vg for pgsql-committers@lists.postgresql.org; Mon, 13 Dec 2021 16:47:48 +0000 Received: from relay11.mail.gandi.net ([217.70.178.231]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mwoUH-0000h0-NF for pgsql-committers@lists.postgresql.org; Mon, 13 Dec 2021 16:47:48 +0000 Received: (Authenticated sender: adsend@dunslane.net) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 1B6C3100003; Mon, 13 Dec 2021 16:47:37 +0000 (UTC) Message-ID: <190aad26-d04b-f2c6-c4a3-e184377f4c8c@dunslane.net> Date: Mon, 13 Dec 2021 11:47:36 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: pgsql: Check that we have a working tar before trying to use it Content-Language: en-US To: Michael Paquier Cc: Andres Freund , Tom Lane , pgsql-committers@lists.postgresql.org References: <3660797.1638983124@sss.pgh.pa.us> <20211209021604.bv5tfr23ymh4u7x4@alap3.anarazel.de> <3707204.1639016334@sss.pgh.pa.us> <20211209024604.dpmudj4ax2hoi7cx@alap3.anarazel.de> <20211209030856.ibxewzpc5ph7ckkp@alap3.anarazel.de> <20211209064928.7f5lp6hxvw2f2j6o@alap3.anarazel.de> <95787b2b-d483-0b5e-b24b-1986cff93596@dunslane.net> From: Andrew Dunstan In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 12/13/21 03:08, Michael Paquier wrote: > Also, > the default values of LZ4, TAR and GZIP_PROGRAM had better be set > *before* loading buildenv.pl, and not after it is loaded, no? On > HEAD, one has no way to unset any of those variables so it is not > possible to skip things if an environment has in its PATH a funky > command that TAP would refuse, like a tar command from MinGW or the > git installation. No. The code only sets them if they have not been previously set by buildenv.pl or the calling environment. That's what "||=" means. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com