Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w7vaC-0002Lz-0z for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Apr 2026 13:26:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w7vaA-000C1F-2f for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Apr 2026 13:26:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w7vaA-000C17-1q for pgsql-hackers@lists.postgresql.org; Wed, 01 Apr 2026 13:26:06 +0000 Received: from fout-a4-smtp.messagingengine.com ([103.168.172.147]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w7va7-000000001Gg-3XgN for pgsql-hackers@lists.postgresql.org; Wed, 01 Apr 2026 13:26:06 +0000 Received: from phl-compute-03.internal (phl-compute-03.internal [10.202.2.43]) by mailfout.phl.internal (Postfix) with ESMTP id 3CA28EC02AE; Wed, 1 Apr 2026 09:26:02 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-03.internal (MEProxy); Wed, 01 Apr 2026 09:26:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1775049962; x=1775136362; bh=/H7/pXHC9r1LLonNmo8CKShdMj+hJu5Owgsvq6oDVZA=; b= baRWJAMwcYcYdZrDn3KiMbBV2ViQJx2CiDydJNKTy5o2K70yHQFJlk60f7mlJgOH QOR443UPggRulZNyjW0BszHThgjds1aTJ6NBkSJVNs62KHMV2kwwaEyrUPjISiTw MjFEkOeY4RVV8xo0CP3keJWCi3Uir9p1OqUraSH6g7iWO9yRE9224AilChnL3OqV 0fQvTQMJSJk8ewc+LQo8pMX5HgGSf2FgOrjgPg4w3CZ99ZN8jm+7PdNSDG6mEkJY M/dxH23iJhB6KFLaK12GXwBhQAr4SXJhY9pOmOXm89chJls9sePSY2jqQ+K7AbNm yWLdlStipWtnazHQ4Y2yVw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1775049962; x= 1775136362; bh=/H7/pXHC9r1LLonNmo8CKShdMj+hJu5Owgsvq6oDVZA=; b=O KDwIaVqpRPsjYb0Cqcyn2+n18DpEq50b0nheIi5hqkD4UzK88FwwlLsfnH8mYXE1 4Sa5+UolC41TV2Fug6hCjW35hhFtfSLBtf1ceNRjA8zUN/Rs/Ud/ozIYevC8iQOn beBbSxz+R+NDgmHCwZA3+fZisWYyY4DA+F36N/8ncs16RsuQwDW8NUjYYjNwKBd3 sP2z+orVZskKKpMBDV+lXjuFEhC9of7YBHpT1oQo2elKJF7VLXBKuLjyb+7oIxgl FpjR005ZW20B2oY61Y//lexX98Obflwa6RLUxVkiGvc+ohnqNltdNcJ5y+efiW+M wVotBMeZyg0vxTHlBSyAw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgdefvdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceurghi lhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurh epfffhvfevuffkfhggtggugfgjsehtkefstddttdejnecuhfhrohhmpeetnhgurhgvshcu hfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucggtffrrghtth gvrhhnpedtleelvdfgjedvffeiueekfeeuleffhfegfffhgfffkeevueehieehhfeigffh vdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrnh gurhgvshesrghnrghrrgiivghlrdguvgdpnhgspghrtghpthhtohepudefpdhmohguvgep shhmthhpohhuthdprhgtphhtthhopegrnhhthhhonhhinhdrsghonhhnvghfohihsegurg htrgguohhghhhqrdgtohhmpdhrtghpthhtoheprghnughrvgifseguuhhnshhlrghnvgdr nhgvthdprhgtphhtthhopehjrghkuhgsrdifrghrthgrkhesvghnthgvrhhprhhishgvug gsrdgtohhmpdhrtghpthhtoheplhhirdgvvhgrnhdrtghhrghosehgmhgrihhlrdgtohhm pdhrtghpthhtohepmhgrshgrohdrfhhujhhiihesghhmrghilhdrtghomhdprhgtphhtth hopehrohgsvghrthhmhhgrrghssehgmhgrihhlrdgtohhmpdhrtghpthhtohepshhulhgr mhhulhesghhmrghilhdrtghomhdprhgtphhtthhopehthhhomhgrshdrmhhunhhrohesgh hmrghilhdrtghomhdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehlihhsthhs rdhpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 1 Apr 2026 09:26:01 -0400 (EDT) Date: Wed, 1 Apr 2026 09:26:00 -0400 From: Andres Freund To: Andrew Dunstan Cc: Thomas Munro , Tom Lane , Tomas Vondra , Michael Paquier , Amul Sul , Zsolt Parragi , Robert Haas , Chao Li , Anthonin Bonnefoy , Fujii Masao , Jakub Wartak , PostgreSQL Hackers Subject: Re: pg_waldump: support decoding of WAL inside tarfile Message-ID: References: <1624716.1774736283@sss.pgh.pa.us> <1626907.1774737417@sss.pgh.pa.us> <97a382c0-1f19-4ea0-951f-e37e6abc34a3@vondra.me> <1630755.1774739531@sss.pgh.pa.us> <1873141.1774823011@sss.pgh.pa.us> <7c394909-7680-4305-885e-8c7f18ed4441@dunslane.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7c394909-7680-4305-885e-8c7f18ed4441@dunslane.net> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2026-04-01 06:39:05 -0400, Andrew Dunstan wrote: > > On 2026-03-31 Tu 10:05 PM, Thomas Munro wrote: > > On Mon, Mar 30, 2026 at 11:23 AM Tom Lane wrote: > > > Thomas Munro writes: > > > > Anyway, given the defaults, GNU tar + ZFS/BTRFS users must be pretty > > > > unlikely to hit this in the wild, and the symptom is a confusing error > > > > in a maintenance tool, not corruption, so I don't think this is a big > > > > deal. I might still try teaching the astreamer code to understand PAX > > > > 1.0 when it sees it in the next cycle though, for the benefit of > > > > FreeBSD users. > > > I agree that this isn't too critical if the effects are confined to > > > pg_waldump. I believe that pg_basebackup and pg_verifybackup also use > > > astreamer_tar.c, but it's not clear to me if they'd ever be asked to > > > parse files made by tar(1) and not by our own sparseness-ignorant > > > tar-writing code. If they can be, that'd be a higher-priority reason > > > to fill in this gap. > > I pushed the workaround for the test. > > > It occurred to me this morning that we probably shouldn't run this test on > Windows, and if we do we shouldn't be using /dev/null (the Windows > equivalent of which is just "nul"). The simplest fix would just be to add a > "!$windows_os" to the if test. Why should we skip this test on windows? I think we have historically been way too liberal about sprinkling !$windows_os test disablements around. More than once there were actual bugs that we just swept under the rug by disabling the tests that detected them. Either we support windows or we don't. Greetings, Andres Freund