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 1mv9nt-0000ZT-TL for pgsql-committers@arkaria.postgresql.org; Thu, 09 Dec 2021 03:09:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mv9ns-00078N-Lm for pgsql-committers@arkaria.postgresql.org; Thu, 09 Dec 2021 03:09:04 +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 1mv9ns-00078E-EN for pgsql-committers@lists.postgresql.org; Thu, 09 Dec 2021 03:09:04 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mv9np-0000Dv-CD for pgsql-committers@lists.postgresql.org; Thu, 09 Dec 2021 03:09:04 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id C5CE35C02E2; Wed, 8 Dec 2021 22:08:58 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 08 Dec 2021 22:08:58 -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=a7CD3hmJlSCfv9ny1KDPFZVO5cb FOB7zicJfDrsTfKs=; b=p2GL1rmCRqHrqcc/oVGFd49MY2zOAkZUOtFGXImloMV rs83CSvIkvAvQ4+Z9N3tV056oiccRxAtWi7Xai+5b6hKg9XqibLVGnUXM/VwMWC0 QHMmew+UC17u1qBtApTx+kW6GqAOou221Ek2Io+UTc4PFt9ijX3mnPlxdTBvFXpl oUUj4Lwc5G6zEINYMatoB8D0IpMzfLaNn2VXcKVTxWS7SN6j8uRnNShCfrZgdLWD aMjMVogQb1D/yswWh4z+irrmYixdx//WaNmowEa+mbRrvGdlr39xWISXpXL66GnQ koBNvmftgUV+dStSZ+Z7MeHFh4wUBHyXysiAHE9SjQA== 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=a7CD3h mJlSCfv9ny1KDPFZVO5cbFOB7zicJfDrsTfKs=; b=V8YUZL4HQIJLomB+x1JGLW j4UmUcn4p94/hZY3Xenmuq2JC+0EloA2RXkJkC1YVyVK3JCZSoiDQzvjQb1YjyOR FP0Gx4jtL0whGmD/O5qRPEwzDS2WH2kIolDaUJHNRPJI5XAr+9w0br4S8X/RuOwn zHhW/5gcJY4rTIYxJJDE30NzcDwQdNn27IOyYtecFcMatvZvCh5o6ikMK8g+KnV7 pOWYvu3s9CGVmeOUjaSC2/ZSLsl3M4MtaodBpqFMnkF3ZuTQLMqiQL65LQaEtqbt ZprRHTeq1UJK+qWnt4aczjNR1JopaLur9TEU0+xlR4dSuHwpliDp/pC+IPNaPNow == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrjeelgdehiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomheptehnughrvghs ucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuggftrfgrth htvghrnhepueehtdevveffjedtgfefgfejveeugeejjeekgfelleeljeeuvdeiffelieej hedtnecuffhomhgrihhnpegtihhrrhhushdqtghirdgtohhmpdhgihhthhhusgdrtghomh enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrnhgu rhgvshesrghnrghrrgiivghlrdguvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 8 Dec 2021 22:08:58 -0500 (EST) Date: Wed, 8 Dec 2021 19:08:56 -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: <20211209030856.ibxewzpc5ph7ckkp@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> <20211209024604.dpmudj4ax2hoi7cx@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211209024604.dpmudj4ax2hoi7cx@alap3.anarazel.de> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2021-12-08 18:46:04 -0800, Andres Freund wrote: > 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. That worked: https://cirrus-ci.com/task/6302355785252864 https://github.com/anarazel/postgres/commit/49cf19f160080353da391f177a7d8c28218023bb [03:01:52.451] t/010_pg_basebackup.pl ... ok [03:02:09.737] t/020_pg_receivewal.pl ... ok [03:02:11.837] t/030_pg_recvlogical.pl .. ok [03:02:11.848] Result: PASS