model-writtenrun 1098 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
Aug 2025 - Apr 2026 ยท 41 entries
- Amul Sul proposed decoding WAL directly from compressed or uncompressed tar archives in #1, using archive streamers to feed the existing xlogreader and thereby enable WAL verification for tar-format backups.
- The initial series separated preparatory refactoring, ordered archive reading, temporary-file handling for out-of-order WAL, and pg_verifybackup integration; #2 repaired CI failures, and #3 established that pg_waldump only needs one selected timeline.
- Jakub Wartak's tests in #4 exposed misleading errors, missing-WAL verification failures, predictable temporary filenames, and incomplete cleanup, while also approving the preparatory patches.
- Robert Haas reviewed streamer interfaces and buffering in #6, then withdrew his suggestion of a completely generic terminal streamer in #7 because WAL selection and reordering require specialized behavior.
- Amul Sul addressed initial review issues in #9, but Robert Haas argued in #10 and #12 that reopening or rewinding the archive exposed a deeper separation-of-responsibilities problem.
- After discussing member boundaries and compressed input, Robert Haas proposed per-segment hash entries in #14, and Amul Sul implemented that architecture in #15, moving most archive logic into archive_waldump.c.
- Following the rebase in #16, Jakub Wartak confirmed that missing WAL now caused pg_verifybackup to fail correctly in #17, while continuing to flag predictable temporary paths.
- Amul Sul fixed partial-page rereading in #19 and adopted mkdtemp-based spill directories in #20 after discussion with Jakub Wartak and Robert Haas.
- Chao Li's review in #21 led to read-count, initialization, diagnostic, and test refinements in #22, followed by the new-year refresh in #24.
- Robert Haas's review in #25 challenged global state, ambiguous filtering responsibilities, and buffer handling, and supplied a standalone patch removing the WalSegSz global.
- Amul Sul rewrote page reading and changed the hash key to the complete WAL filename in #30, also incorporating Robert Haas's prerequisite, which Amul explicitly approved in #31.
- Robert Haas committed the unchanged prerequisite from #30 as 9a446d0256, leaving the archive feature under review.
- Robert Haas's further review in #33 and Euler Taveira's review in #34 prompted clearer filtering, normalized archive paths, shared compression detection, and discussion of backward compatibility for --wal-directory.
- Amul Sul moved filtering into the streamer and segment-size state into XLogDumpPrivate in #39, then added shared detection and continuation-record coverage in #40.
- Andrew Dunstan supplied review fixes in #42, but Amul Sul retained loop-based TAP tests in #43 to avoid duplication; Andrew accepted that organization in #45.
- Andrew Dunstan also proposed reusing the archive input buffer and retaining --wal-directory as an undocumented alias in #45, and Amul Sul incorporated both in #46.
- Andrew Dunstan consolidated the work into three patches in #47, adding --follow rejection, clearer errors, and hash cleanup, after which Amul Sul separated the common helper and folded test refactoring into the feature in #48.
- Zsolt Parragi found a positional-path regression and suggested lazy temporary-directory creation in #51; Amul Sul repaired the path handling in #52 and implemented lazy creation in #53.
- The common helper and pg_waldump preparation from #53 landed unchanged as c8a350a439 and f8a0cd2671.
- The same submission supplied b15c151398 with only small comment and getenv cleanup, and the unchanged pg_verifybackup integration in b3cf461b3c, completing the main feature.
- Tom Lane reported compressed-archive buildfarm failures in #55, identifying both missing pipeline finalization and unsafe reliance on cur_file; Amul Sul proposed an initialization fix in #56.
- Andrew Dunstan supplied decompressor byte-count and spill-handle fixes in #59, which Amul Sul combined and revised in #61 and #62; the suggested meson test addition was dropped because that separate test had not landed.
- Tom Lane replaced the incomplete fix set in #64 with explicit EOF finalization and hash-table-based initialization, and Andrew Dunstan extended it and corrected the page-header sizeof expression in #67.
- Andrew Dunstan's decompressor correction, last attached in #67, landed as 5540f9c430, forwarding only valid buffered bytes instead of the whole allocation.
- Tom Lane's investigation in #65 and #66 showed that the tar trailer-size check was both unreachable and incompatible with permitted padding, leading to #67's separate removal in 5868372bbf.
- Tom Lane rejected incremental spilling in favor of scanning all hash entries and spilling completed files in #68, refined initialization cleanup in #69, and combined that replacement with the EOF and initialization fixes from #67 in 860359ea02.
- Tom Lane's subsequent patches #72 and #73 landed unchanged as ca1f1ade3f and 6e243d81c5, simplifying archive reads and correcting compression-buffer sizing.
- Remaining failures, including Windows cleanup problems, led Tom Lane to identify unclosed segment descriptors and invalid pointers caused by simplehash entry movement in #75.
- The two patches in #75 landed unchanged as 03b1e30e7a and ff84efe4fd, repairing descriptor cleanup and refreshing moved hash pointers.
- Tom Lane also proposed deleting the fragile partial-buffer truncation optimization in #75; that unattached change became e9d723487b to reduce complexity after the repeated correctness failures.
- Thomas Munro reported a consistently failing FreeBSD/ZFS case in #77, and Tom Lane traced it to BSD tar's sparse-file encoding in #80 and reproduced a --no-read-sparse workaround in #83.
- Thomas Munro packaged that workaround in #84, which landed with naming and comment edits as 852de579a6, while full sparse-format support was deferred.
- Thomas Munro added a sparse-PAX reproducer in #92, but Tom Lane argued in #96 that all unsupported PAX headers must be rejected because they can change file names, sizes, and interpretation.
- Thomas Munro tested PAX rejection and revised the proposed test in #97; Tom Lane separately added shared tar-header validation in #98, which Thomas tested in #99.
- The production hardening proposals from #96 and #98 were combined, with small cleanup and branch-specific trailer-check inclusion, in 698eae7db7; the attached PAX test is not included in that commit.
- Tomas Vondra's OpenSUSE failure report in #102 exposed GNU tar configurations that defaulted to PAX, leading Tom Lane to propose common test-option selection in #105.
- That discussion produced c4b7be4ecb without an attached implementation, adding tar_portability_options() and repairing pg_verifybackup test guards.
- Thomas Munro unified GNU/BSD tar probes in #110, incorporated Sami Imseih's large-UID fix from #109 into #111, and added OpenBSD support in #117 after Nazir Bilal Yavuz's failed test report in #116.
- Sami Imseih corrected the UID-limit comment in #118, Nazir Bilal Yavuz reported successful OpenBSD tests in #119, and Thomas Munro made further probe-logic corrections before landing bab656bb87, as documented in #120.
- Thomas Munro's final code review in #121 requested size_t and %zu, which Andrew Dunstan implemented directly as 3f8913f683.
- The main feature and the traced fixes are committed, while full PAX/sparse support remains deferred to another cycle as discussed in #113; the thread ends with unresolved coding-style documentation and Size-typedef questions in #123, #125, and #126.