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 1mvDns-00071U-5N for pgsql-committers@arkaria.postgresql.org; Thu, 09 Dec 2021 07:25:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mvDnq-0003bv-2r for pgsql-committers@arkaria.postgresql.org; Thu, 09 Dec 2021 07:25:18 +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 1mvDnp-0003bm-Rd for pgsql-committers@lists.postgresql.org; Thu, 09 Dec 2021 07:25:17 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mvDnj-0002OM-Ce for pgsql-committers@lists.postgresql.org; Thu, 09 Dec 2021 07:25:17 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 530233201D0A; Thu, 9 Dec 2021 02:25:07 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 09 Dec 2021 02:25:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=qZFKoh5rUvOLCSlXkD1Zq8P4U0Y xC2L3c65XJYHEpNU=; b=DpqgWocGCX2CItlKTGTn/ei4EmTjSlVQPFZosAYOU6J 5kpoIFQeWmTm6rFmgtPeY+XXs0Mo12qBh/5bNEbWbjxyYutxolvfP88PgIMhwLOD sSzHOhhr9z9cfGxFI5yp1+6ubV8mwOARY2rEOjQlmwU+MKTFh1Sn0K0ssuhDX4ne OkHnAC6iL6RFfxaj/q0CPrYwsGe8+Zuw09ilKnHkaWb4sM1rYkSwCbA7ejXEiCr3 NOdi8gniRUQ6nufXS3jYou99NGKBEh6EQ0UHHFTNOlw0zeWDw58vIzvnCEotp4UA q8P/jfTVSSf9wF09OUbxB6kkMutd8nRrtvPK0XuAJkA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=qZFKoh 5rUvOLCSlXkD1Zq8P4U0YxC2L3c65XJYHEpNU=; b=TgfC0tBQiYUVAdJSogJRNO NdKb5k97T6opdybYyuyRQESMuL60Htr2IMEZyW4mdPyK9AqHFpGmSy5tjk0M3JmF mNMXryVeXmdSv8Hh2bbT/jGGtz4DMgMTEfRrA5E6NTNYHC4maXKpgaryt7nIJqVh 9cx0q3+AdF3IJ9sCdpzScPJkko7v/4vvgfSM7WOXd62xNdFIGCB6OQGz+RZAjDbo GeYfxRXkXHGbgVhJXPdq5VtLmRNILbeoZ6C6iaTyeuBFz6lGKA+efMYkq+ADMLLC HS1RXHAk2ex2+tlISWjsMDXh5slAnIVpMPU/sXMKHlTYlp5k7QdXFlUp855KVlkQ == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrjeelgddutdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpeetnhgurhgv shcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucggtffrrg htthgvrhhnpedvhffgkeejudfgjedtveeigfehueeuleehudfgffdvvdfhvedufedujeff keetueenucffohhmrghinhepmhhitghrohhsohhfthdrtghomhenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrnhgurhgvshesrghnrghrrgii vghlrdguvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 9 Dec 2021 02:25:06 -0500 (EST) Date: Wed, 8 Dec 2021 23:25:04 -0800 From: Andres Freund To: Michael Paquier Cc: Tom Lane , Andrew Dunstan , pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Check that we have a working tar before trying to use it Message-ID: <20211209072504.kkkuza2zeqdw42m7@alap3.anarazel.de> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2021-12-09 16:10:39 +0900, Michael Paquier wrote: > FWIW, my Windows 10 VM, that I got from Microsoft a couple of years > ago, does not ship it in this location, simply, even after updates. That is odd - MS says it's available in all types of windows 10: https://docs.microsoft.com/en-us/virtualization/community/team-blog/2017/20171219-tar-and-curl-come-to-windows > And I am pretty sure that you cannot assume that this will exist at > this location for all the Windows environments we still support the > compilation of PG. I don't think we need to. I think it's important to optimize the long-term effort (i.e. everyone using git needing to set TAR) => having a default that works going forward is important. Needing to configure tar on old windows installations (when running tap tests), isn't a comparable long-term effort. > My thing runs Visual 2015 that we still support, so, if possible, I'd like > to keep it around a bit more as it is useful to check and test > incompatibilities and/or bug fixes, and it has caught problems in the past. IMO we should just drop support for that. > I got some copies of tar.exe lying around, one from a git installation and a > second one from Msys, but both don't work even if $ENV{TAR} points at them > :/ -- Michael Well, in that case what I'm suggesting doesn't even hurt... Greetings, Andres Freund