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 1w6yVG-004pv1-1t for pgsql-hackers@arkaria.postgresql.org; Sun, 29 Mar 2026 22:21:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w6yVE-00HTro-2I for pgsql-hackers@arkaria.postgresql.org; Sun, 29 Mar 2026 22:21:05 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w6yVE-00HTrg-1L for pgsql-hackers@lists.postgresql.org; Sun, 29 Mar 2026 22:21:04 +0000 Received: from mail-dy1-x132c.google.com ([2607:f8b0:4864:20::132c]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1w6yVD-00000001hxC-0auq for pgsql-hackers@lists.postgresql.org; Sun, 29 Mar 2026 22:21:03 +0000 Received: by mail-dy1-x132c.google.com with SMTP id 5a478bee46e88-2c18771d582so91383eec.0 for ; Sun, 29 Mar 2026 15:21:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1774822862; cv=none; d=google.com; s=arc-20240605; b=EiRATEscgJhZ++cBaE+dgPMySGcOke0/H/Bw+Jt2gqU/mEESR+ii4XdiTKypav6AE0 xJMqKlpbFxTQOyqBke0MY60b006w5HimEFG7a/hiDNXPJ2pH0RXsrDuZAqO5WFyN7Qb3 0zc5ydc/m1yypT3WWZL7Qt87PIfzJZwi/vfswCgUvU2DXupUHonxzUQiXKEhWvLOVe/5 CEaw23TFta/HIIFNkNWqJoRoavgwS5ju12md0+Nm+DQK+fDAOlRcCDwSVK8nOWqoyuRH BI+LrPdgJK2l17wY8XExqzxZ0v0pr+al8YdYS3tUJGWom3Jcg9hUIgioUeZygewrsuQw NzZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=3+X1K2PO3lpGxX6vkHpaj5sPK9Px+9eouj8h3OO8HWc=; fh=ZY78GgC45DaLO91gO7pqt9zH5tpmyXNDHzfHQX9bZE4=; b=PRlrLm/SbdLGw18jer/zhL6JUxTXDXvk8P66DXhhsXk+mMkF/fZraSEx45ne/G2Ivs zIf2upBNZ9bdXEHS6yGNqLlGOLshKbr2eftupbBqk7Ps3wtedeUTRCXExb/S77gVwU/1 Uh2+tTleD1qfYo4VuiySzYHOEaxq7n6lep4B9kDbMWJcmVPVPWLn4J4B74K2NWDjJ4at qVh4fjyfTg4Dw3u2z++bhd1/FMdLRL+x2U0CpCHqyX2EcrjU4ktd3EYBc43cOqXtPMdf exsHqPM6r9a5w+CO1eNfZ7XPhIkyT8JsQSTg2n4Qd24IgLGTWu8qHRynOWb4WxCyn7d0 biWw==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1774822862; x=1775427662; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=3+X1K2PO3lpGxX6vkHpaj5sPK9Px+9eouj8h3OO8HWc=; b=PNv1FTYnhKNoIYMbwJ5MvPplieA9nYx2Rvj8WrG4g86wu9szObjUErcdgPOgRpSH4X r/8SbagJpjWJZBdgW7pCozuHRH2fh9RWgunNP/ZRE3OTNjzG34MbPs5TZFytDbevFWp0 Y3iwajY6rqzvsy8QlddwUVW1EKJtLOZnidalvm7gBNo2QkTDkKV0DQ15Q4P9eEzIhU8e NUy3iFNrQWzaNeqm875H6vyZ/e1k66wXN6IY5544Y7SOE48D25He11J59O3BCImqpHsO /pu/xaIdbD2UOYwmnkuzmvTThFLNIY+GaWGBQ23bS1TEhZ7y4eA/IPLPUDo1NrfD2x+x t/Fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774822862; x=1775427662; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=3+X1K2PO3lpGxX6vkHpaj5sPK9Px+9eouj8h3OO8HWc=; b=FgCSz715o93cxeGYKGhpAswEOo2yNpkA7oPFVe6Bdj0o7rV4xYNyNVsLw3EGBat4Mk uziOz3/J1RplNYXVnlyYNKbxwHS0Ya/wl72YR8gwo+VUbfhk41leX09AwJ89KeOrtLJ7 DeqUVyAF24kNTOGT2fpn77iXPPy/MfuCsUNXIZCyojDy/bdrJe8RA4otJ+RTad5ojR9G g3CU8ZoUKH1rnINkKCeHQW5q0FE9BR21jlcmOwEUdLIuBpFouRKon7mkLTq9rW5nkqc8 3/dMkGVge0xbkEkenjJAdJfXdZdj1JQ8nEDoaTK+wjwrKyoE8DASJFoLu9GcsKUVV258 5W+A== X-Forwarded-Encrypted: i=1; AJvYcCWVaz/7GYDciCpkoLkU0MDxamC36TWwWCinow6UxGdHApzjbShcwQT7X9u2Mwxfs1/gpHCZqKbAf56R4s9m@lists.postgresql.org X-Gm-Message-State: AOJu0Yy7D8+zmm8s634vxm1pAoVFEBnltkp7hXZu6kzx/qKZxrmZFBjF /WJObDF0iwIP0mg5LXA1pOOfODm2KREr6GspAxtcmp8uOn+Mqkvd0/sto5LC6Ya3qitsTNPyN+x mkJEgcoIH8TaWzdG6huELUZFGjcAaqpA= X-Gm-Gg: ATEYQzzJ6IRAYoZPXUOLR9UJjTEILwsl4/xK00Cew8VX2Lj9LJWS4I35/k72aE8XXvn B1SOG8UbOQpHuZhjm6LYasnYH6DcDEwBDhigSZi8WP2Nf6BjMdybxqmGZb3Wur6P5JxRX1/kyJL nVX9kpfO5aP/1bQ0oX30sK7MeVUidNiaXwPuqkl28sp0uRnfUwskqJs6iBOtYzKxKvUqMEeRyoN GjerHAW8i4jSTTs1MM09P08IUcrBGZrJZeSM7i16rT5ngDmdeHKuhhthcroLTEUPwv9Ne+i8EFD jFSQFZrlbOCBz+GM5r+gObG1BCLtC5xgm6EsnCsfyBGsNdck4ovDNqd+DlEV9CNw X-Received: by 2002:a05:7300:6c28:b0:2c4:6ec:141e with SMTP id 5a478bee46e88-2c406ec177fmr1397012eec.7.1774822862155; Sun, 29 Mar 2026 15:21:02 -0700 (PDT) MIME-Version: 1.0 References: <2250061.1774104346@sss.pgh.pa.us> <2555285.1774131847@sss.pgh.pa.us> <2609460.1774153487@sss.pgh.pa.us> <2790913.1774200584@sss.pgh.pa.us> <2880042.1774203473@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> In-Reply-To: From: Thomas Munro Date: Mon, 30 Mar 2026 11:20:24 +1300 X-Gm-Features: AQROBzC_m3x7wxnD26jG95ZMfbzGC_ImBdEh6e8mG72ppQIEHxau_JUBunn-W8w Message-ID: Subject: Re: pg_waldump: support decoding of WAL inside tarfile To: Tomas Vondra Cc: Tom Lane , Andres Freund , Michael Paquier , Andrew Dunstan , Amul Sul , Zsolt Parragi , Robert Haas , Chao Li , Anthonin Bonnefoy , Fujii Masao , Jakub Wartak , PostgreSQL Hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, Mar 30, 2026 at 11:11=E2=80=AFAM Thomas Munro wrote: > ... so that's a yes, lseek sees holes that we didn't ask it to make, Oops, sorry, I wrote that email too fast and got my examples mixed up, BTFS actually *doesnt* do that automatically, that was of course a trace showing a file with explicitly made holes. So this is probably be a ZFS-only issue unless you're using wal_init_zero=3D0, and then any file system could result in PAX-sparse-format tarballs, but even then only if you use non-default switches that in practice no one will use with GNU tar, or if you use BSD tar. So in practice this is a FreeBSD-only issue.