Re: pg_waldump: support decoding of WAL inside tarfile

From: Amul Sul <sulamul(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: pg_waldump: support decoding of WAL inside tarfile
Date: 2025-08-25 12:28:44
Message-ID: CAAJ_b97PQjE4kFD8Qk6UvtLrfPMixw1nxBz0OP5Z2WB2B-uMxQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Aug 7, 2025 at 7:47 PM Amul Sul <sulamul(at)gmail(dot)com> wrote:
> [....]
> -----------------------------------
> Known Issues & Status:
> -----------------------------------
> - Timeline Switching: The current implementation in patch 006 does not
> correctly handle timeline switching. This is a known issue, especially
> when a timeline change occurs on a WAL file that has been written to a
> temporary location.
>

This is still pending and will be addressed in the next version.
Therefore, patch 0006 remains marked as WIP.

> - Testing: Local regression tests on CentOS and macOS M4 are passing.
> However, some tests on macOS Sonoma (specifically 008_untar.pl and
> 010_client_untar.pl) are failing in the GitHub workflow with a "WAL
> parsing failed for timeline 1" error. This issue is currently being
> investigated.
>

This has been fixed in the attached version; all GitHub workflow tests
are now fine.

Regards,
Amul

Attachment Content-Type Size
v2-0001-Refactor-pg_waldump-Move-some-declarations-to-new.patch application/x-patch 2.2 KB
v2-0002-Refactor-pg_waldump-Separate-logic-used-to-calcul.patch application/x-patch 2.3 KB
v2-0003-Refactor-pg_waldump-Restructure-TAP-tests.patch application/x-patch 5.5 KB
v2-0004-pg_waldump-Rename-directory-creation-routine-for-.patch application/x-patch 1.6 KB
v2-0005-pg_waldump-Add-support-for-archived-WAL-decoding.patch application/x-patch 34.7 KB
v2-0006-WIP-pg_waldump-Remove-the-restriction-on-the-orde.patch application/x-patch 17.8 KB
v2-0007-pg_verifybackup-Delay-default-WAL-directory-prepa.patch application/x-patch 1.7 KB
v2-0008-pg_verifybackup-Rename-the-wal-directory-switch-t.patch application/x-patch 15.6 KB
v2-0009-pg_verifybackup-enabled-WAL-parsing-for-tar-forma.patch application/x-patch 9.3 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bertrand Drouvot 2025-08-25 12:58:18 Re: Report reorder buffer size
Previous Message Amit Kapila 2025-08-25 11:51:27 Re: [BUG?] check_exclusion_or_unique_constraint false negative