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 1mv9Rj-00074s-2A for pgsql-committers@arkaria.postgresql.org; Thu, 09 Dec 2021 02:46:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mv9Rh-0007Xq-VU for pgsql-committers@arkaria.postgresql.org; Thu, 09 Dec 2021 02:46:09 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mv9Rh-0007Xh-OQ for pgsql-committers@lists.postgresql.org; Thu, 09 Dec 2021 02:46:09 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mv9Re-0002oM-Dl for pgsql-committers@lists.postgresql.org; Thu, 09 Dec 2021 02:46:08 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id C73925C00F8; Wed, 8 Dec 2021 21:46:05 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Wed, 08 Dec 2021 21:46:05 -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=rcx9PQrDpnEFcSySveQ57rSk1zL sZfruSXrWFz9apRs=; b=kkrWfn9/3HZ5C8/46SK5EI8u5Boaayoi+lsrb45xE/K CVXDy4Zq1RvJpKcHGYiVb9z+aMB8hxgpDj051g9nViB9yNXma6qe9pgvpHwsicMm 623/9NIr4y+RbsmrvUdU5xUyFlgeTdbgAVLTDayptkkjz4RBaKTogflF0CtLzriD F+6EUBVAgsRCsCg6W99wGvvKYHx1qEeO0vbHKQCmrnkQJbjP5yS4snO8HPVbnGqd OiCRyZCARIzT+0ZxU/Y9rcU0j1GGSktbjYHJuxsuI38VubqQwIWVGbdZfftcCiIN goI7Cyl5qkeXMsZpc5LWocabAObTAsto/3eXk2mfbbg== 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=rcx9PQ rDpnEFcSySveQ57rSk1zLsZfruSXrWFz9apRs=; b=R9r/7dQ80qS3cTuiqhmrfj Y2m10OehGiuOSm9M9jvWYKBM39DuRVT3LyaSTd/xA6G7wvILs9nNEIzwPvYXBzd/ cV1WS0DtstD3IbhQ+6ZMnbebF9KKmtBZJm7YkSHayY+BCFuftwvMvBxATbn0zEsR Kgm7S3tvu7+FPKCHl9cSfO+RFeYM6gjci1dcRAwT18t6vZimvlxWA6Rt90BClLAO Obbn9VnUtj1aLqRrclVlLLiRVyE2vp2eSGKt+u+Fx+NUe/RVM5u0n2YuMGKR43C3 pUGWEVN3JzQVCe2FGSrHFo0tnN73Q6scVNm81PL9jA/gsQKaJ+EzZi0JOrnaxGJw == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrjeelgdehudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomheptehnughrvghs ucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuggftrfgrth htvghrnhepudekhfekleeugeevteehleffffejgeelueduleeffeeutdelffeujeffhfeu ffdunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hnughrvghssegrnhgrrhgriigvlhdruggv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 8 Dec 2021 21:46:05 -0500 (EST) Date: Wed, 8 Dec 2021 18:46:04 -0800 From: Andres Freund To: Tom Lane Cc: Andrew Dunstan , pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Check that we have a working tar before trying to use it Message-ID: <20211209024604.dpmudj4ax2hoi7cx@alap3.anarazel.de> References: <3655283.1638977975@sss.pgh.pa.us> <2e118a11-6936-21ec-6782-e9dbb20972c2@dunslane.net> <3657697.1638980149@sss.pgh.pa.us> <3660797.1638983124@sss.pgh.pa.us> <20211209021604.bv5tfr23ymh4u7x4@alap3.anarazel.de> <3707204.1639016334@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3707204.1639016334@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2021-12-08 21:18:54 -0500, Tom Lane wrote: > Andres Freund writes: > > Git appears to install itself in front of c:\windows\system32 in PATH (which > > contains the system tar). Which I think means that after edc2332550 this will > > have to be manually addressed by most people running tests on windows > > manually? That doesn't seem great :( > > Can we make the default be the system tar (ie a full path, not > just "tar")? I have no idea if that's a stable thing on Windows ... It's not stable, but afaict all the "instability" can be handled by relying on a system-set environment variable... Referencing it as $ENV{SYSTEMROOT}/system32/tar.exe ought to work? I'll test that approach via CI, but of course that won't verify that it works in all kinds of odd installations. Greetings, Andres Freund