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 1w8LbZ-000Rct-25 for pgsql-hackers@arkaria.postgresql.org; Thu, 02 Apr 2026 17:13:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w8LbY-0077tq-1W for pgsql-hackers@arkaria.postgresql.org; Thu, 02 Apr 2026 17:13:16 +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 1w8LbY-0077tg-0K for pgsql-hackers@lists.postgresql.org; Thu, 02 Apr 2026 17:13:16 +0000 Received: from relay2-d.mail.gandi.net ([217.70.183.194]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w8LbV-00000000EYI-0Igg for pgsql-hackers@lists.postgresql.org; Thu, 02 Apr 2026 17:13:16 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id 0CDF63EC79; Thu, 2 Apr 2026 17:13:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vondra.me; s=gm1; t=1775149992; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eOOpcuC6OSyGdiWSLRl8X8N0AhvpwEXuOvDvG2Grhjw=; b=kN0lJGonoiSwogcFZuPuKMnzZ/xWyBWFHvlvDveGWgi7+GYK2ZHbOSMRNtBz74f8AX1abL ALXSt6/zwWQdf8F0rAYnEr3n3sLYja0tpX0xl2sY8b8QEOC3/wE1LJIKQxfW+S7nPXwz7A 6kJP/B8gOtouFDtNKlliJkKewk9DMcD2ltltbgqNP3fhy7mRsvAgpGbYU9dg1YyBfWJP6p OUwv/BwsE/+3LE96ExvxEwpH7VJg4oS1oT5kAF/DUplrgsFLx7pN3qai57IOjAGVeXuqFH 3qn9PFG3WhjatXBoMhYPAQtP7PN1qCC8LMl0xtJOS76f7iuWSdZP+NH85KPfng== Message-ID: <02770bea-b3f3-4015-8a43-443ae345379c@vondra.me> Date: Thu, 2 Apr 2026 19:13:08 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: pg_waldump: support decoding of WAL inside tarfile To: Tom Lane , Thomas Munro Cc: Andres Freund , Michael Paquier , Andrew Dunstan , Amul Sul , Zsolt Parragi , Robert Haas , Chao Li , Anthonin Bonnefoy , Fujii Masao , Jakub Wartak , PostgreSQL Hackers References: <2250061.1774104346@sss.pgh.pa.us> <3341199.1774221191@sss.pgh.pa.us> <3424809.1774234940@sss.pgh.pa.us> <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> <3049460.1775067940@sss.pgh.pa.us> <3118179.1775092964@sss.pgh.pa.us> <3565835.1775147392@sss.pgh.pa.us> Content-Language: en-US From: Tomas Vondra In-Reply-To: <3565835.1775147392@sss.pgh.pa.us> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-GND-Sasl: tomas@vondra.me X-GND-Cause: dmFkZTGvULxZm4KbvV8ndQW4jyMCjg7TQGI24RKWvP1oQtoKfmEkEuo+e425vUZSnbeGP10XJPH5dlZ1NQiABrBj0Od1fjaOWwUKTk3YaAPAZZnlLXE20DfcJxOPb8lALERf06+KqGf2KsmT2ccvJ19Mp1HLaKlj5c3uXdHe2HFwx5Se3pePyuYmjyI1YS/QX7xQLkFByimPLjaCno8WvX4+KzX4D1fCKIDJyQlcxdoKWzF8kwWQSDd8sECfEh/XhJVGxJ6Vv4fO6dFGe9N5WKj3YMAk+eRyorw21bttjtWcDB3HVXSgi8M+aTY9bYUwXt/7z/krzH083G0P/vIjuiCxs5fdYMbeYO2iPBAbVuh5R5kRlle3tBD1g9pJRpak2vR4xxwjuOfeyRINlrkJi8jDjsHk67Z5HcL8Bpi84QbIFxsy7N/16d8vckGMjvys4LtdNnmQ/gXsb6hskwUAheAIyJIwu/cIqHQX9lSUHm+LcpoDGjUCqCoSHz3ZWhbBN15YwVWidctQ7xl2ko9oSh324wp4kFW6JYuT9+UWTQGevTIfokrTwWRfUJnJvIzsWRpCxeFc7kR0HI74dUnBJv4SyKsNSgCX5RVW6+jPTYP+JX1ZvqV26VPthbjJNHd2OZ5JS0T6St6IR27uc5DKP3adIR5Xk4iwewQdKDR4kI3srXx8GA X-GND-State: clean X-GND-Score: -100 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 4/2/26 18:29, Tom Lane wrote: > Thomas Munro writes: >> On Thu, Apr 2, 2026 at 2:22 PM Tom Lane wrote: >>> So I think we need something like the attached, in addition >>> to what I sent before. This just makes astreamer_tar.c use >>> the isValidTarHeader function that pg_dump already had. > >> LGTM. > > Pushed, thanks for reviewing! In the event I decided to back-patch to > v18, where these fixes could protect pg_verifybackup against tar files > it can't handle. In older branches the astreamer (nee bbstreamer) > logic only exists inside pg_basebackup, and IIUC that's not really > exposed to tar files that weren't made by our own code. So I did > not bother with back-patching further, though it'd be possible to > do that if someone knows a scenario where it'd matter. > It seems jay/hippopotamus failed on this, for some reason. Those two animals are on the same host, just using different compilers. I did update+reboot the machine this afternoon (before the test), but I don't see why that would cause the failure. Maybe there's something special about OpenSUSE? -- Tomas Vondra