Re: pg_waldump: support decoding of WAL inside tarfile

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andres Freund <andres(at)anarazel(dot)de>, Michael Paquier <michael(at)paquier(dot)xyz>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Amul Sul <sulamul(at)gmail(dot)com>, Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>, Anthonin Bonnefoy <anthonin(dot)bonnefoy(at)datadoghq(dot)com>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, Jakub Wartak <jakub(dot)wartak(at)enterprisedb(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: pg_waldump: support decoding of WAL inside tarfile
Date: 2026-03-28 22:08:43
Message-ID: CA+hUKGKjRa0NmHCUc2XaF=FjdSztm357VgtUhH4LXhCmisLfaA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Mar 29, 2026 at 10:49 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Huh. What is your platform exactly? Maybe more to the point,
> what is the tar program you're using?

FreeBSD tar 3.8.2.

> > Seems like it already stepped over 000000010000000000000002 earlier?
> > Could it be a table-of-contents order dependency bug or something like
> > that?
>
> If you look at the TAP script, you'll see that it tries to randomize
> the order of the entries in the tar file (see sub generate_archive).
> So if that's the problem, it shouldn't reproduce 100%, and also we
> should be seeing lots of freckles on the buildfarm. We're not, so
> there must be something off-the-beaten-track about your test
> environment.

Right, I see now. There is something different about
000000010000000000000002 though: it doesn't seem to have a normal
(non-PAX, non-GNU) TOC entry, unlike000000010000000000000001. Trying
to figure out why...

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2026-03-28 22:18:03 Re: pg_waldump: support decoding of WAL inside tarfile
Previous Message Tom Lane 2026-03-28 21:49:29 Re: pg_waldump: support decoding of WAL inside tarfile