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 1mvDZp-0005n7-PC for pgsql-committers@arkaria.postgresql.org; Thu, 09 Dec 2021 07:10:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mvDZo-000294-HM for pgsql-committers@arkaria.postgresql.org; Thu, 09 Dec 2021 07:10:48 +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 1mvDZo-00028v-9k for pgsql-committers@lists.postgresql.org; Thu, 09 Dec 2021 07:10:48 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mvDZm-0002Hd-Mt for pgsql-committers@lists.postgresql.org; Thu, 09 Dec 2021 07:10:47 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 96DCE5C0338; Thu, 9 Dec 2021 02:10:45 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 09 Dec 2021 02:10:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=7mNL+V35KvrOxUPcO5h9ZBUgYSv xfi6ESoz7odNoZ+w=; b=qD6nUyKVUqgT29hN3kxGfN4BQxCex2ZOVsGdQwem5Nv odqDV/BPiKvqR0RSi/K4yTQ6DcdUcZQ+mh9US0m5+KY83LdBIajvr6oLGPrqcQ0a tg8CfVpjWgZkQUtslSidtNyIFmZ6A43IL/U786s/+UJwlV6rfdFQvAl0VyY+/2vy jFf1k7j0b9kHuKGa7AVLXclPTiUMCxUVywHVA3mb1pZP8li+ERWA2TE+EPnCW160 JyN7pC+i+kovrjiRl/HNjtdugpBF653mV9/aBCaPqQzj/o2RF59+PKRsNxeC75Si MCxaagAKXWqErU3MR9bg+Zk48HEoHDj4GCsT5Z22k4Q== 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=7mNL+V 35KvrOxUPcO5h9ZBUgYSvxfi6ESoz7odNoZ+w=; b=THM+5UKXR0BWkAG/Aa9pJi +FgSaKpwlUNjgaDxZqb/fDdrooNRfOZYhO+LOYkjEiNs0f/wGw30zL8kwLW/ymmw 7VTvkBsy7NZiYcWccQOI4d7g14VIsgdYNhQG6/s4PQ3AJd1WqJX+tDBTd3i66bUy 8rAmnZHhS/XWdS5Sn21kaD0YUjMFqX3BZ9Bh7PvbvikLbKF072u/r18DF8QIamfY cVkX44jaEc9Xv2JDz4U7WXq9Pq1jtvONNHpOPFG/ab0bnprgCLRo30NrslGuIwvO 8ALJEjiF0GgoaJeDjCMXDoK6STt9p04JdZqCKQBZStZ6S1m0P//KSadGRpM3qlUw == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrjeelgddutdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpedvgeduuefhtdeuleettdevjeeh heeiveeuieegleetgeeljeelieeuieehgeevhfenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 9 Dec 2021 02:10:43 -0500 (EST) Date: Thu, 9 Dec 2021 16:10:39 +0900 From: Michael Paquier To: Andres Freund 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: References: <3657697.1638980149@sss.pgh.pa.us> <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: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kIN6ZXvr/nzojFr0" Content-Disposition: inline In-Reply-To: <20211209064928.7f5lp6hxvw2f2j6o@alap3.anarazel.de> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --kIN6ZXvr/nzojFr0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Dec 08, 2021 at 10:49:28PM -0800, Andres Freund wrote: > Could you expand on why it doesn't work? As far as I can tell tar is shipped > with windows these days, and %SYSTEMROOT%/system32/tar.exe should point to > that tar? 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. 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. 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. 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 --kIN6ZXvr/nzojFr0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmGxq+8ACgkQnvQgOdby QH3mAhAAmUPR/po4QJifMDvas8BwiOB4KrCvRqshVoyoHAse/qoR05p0OdCUjBVL 72F7hXqnxWyVmO8tcjLN0fhOMg2v40j6ph6tRV9mMGFwkTWwb7tgg1sNJ7dq3V2U 8hi73lXn/g1EHEaGZdB7cV0putABnfnuRpPq8tKk9c+claRTslmctPafXzjT9vBa Y+u9PrB0neHmT1bZWbXd5zVFm9BF3vA3nr+bAD2U7YMI1bHU6CNiHDd5i//bzpl/ ANXvI0Db5TAlCf+v8Mihl6yGFzpMQq/qzIGPd/0kNFZ+UlLWmr+/XgY2OvN3Rp7L lfaEp1eG3p6Zxhi3rHz4NV5SVc4bX+gOu3wuzpxpuln4tCFvqZHfcI5RQECog4cE svFrGUCe53PXprXNiC+uuz1cnu7UTYt8DjviGO/YksMAVfBkcTR4YKveEQ886D7W Bbw7nldB9u//IjeZ5SEebT6omtEWpIqGWBvdoViyw4iy+A2g7tyArwwtrAzf0BNt YGqsvyX7v5DBJhG3LVV54SJLFs0h3BSyBL6ZQHK2iehJ2GgAkQXLwEPmbvck+8fb bNRmd5jPkFAqb/PDuvT0TIop9v37jiNsy00wCGXzpVZR4Z6y9LUYwmnX+eTtShKw ixC8bGL8ZH4cAdBXRFWJumuogNTbf1pGYjws3CxM/a7jDVZVCpQ= =kYCl -----END PGP SIGNATURE----- --kIN6ZXvr/nzojFr0--