Mar - Apr 2026

17 commits
Use size_t instead of Size in pg_waldump
10 Apr 2026Andrew Dunstanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

Implements Thomas Munro's direct request in #121 to replace Size and long-long formatting with size_t and %zu in archive_waldump.c and pg_waldump.h; no matching patch was attached.

  • Thomas Munrosaw the final versionLLM analysis, 100% sureIdentified both type and formatting issues in #121, and the commit implements those requested changes.
More tar portability adjustments.
4 Apr 2026Thomas Munromaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.4
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #1180 of 3 reviewers saw the final version

Derives from Thomas Munro's patch republished by co-author Sami Imseih in #118; the committer changes probe destinations, fixes the inverted OpenBSD success test, and uses elsif, as explained in #120.

  • Tom Lanesaw an earlier versiontrailerApproved the unified probe and discussed the UID override in #112 and #115, before OpenBSD support and final probe corrections.
  • Nazir Bilal Yavuzsaw an earlier versiontrailerReported the OpenBSD failure in #116 and successful tests in #119, but the committer subsequently corrected substantive probe logic.
  • Andrew Dunstansaw an earlier versiontrailerTested the Windows null-device approach and recommended output suppression in #100, before the shared helper's final command changes.
Further harden tests that might use not-so-compatible tar versions.
2 Apr 2026Tom Lanemaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.4
LLM analysis, 100% surewritten from the discussion, no matching patch0 of 1 reviewer saw the final version

Implements the OpenSUSE diagnosis and shared Test::Utils helper proposed in #105, including pg_verifybackup/t/003_corruption.pl guards; the helper's first attached revision, #110, postdates this commit.

  • Tomas Vondrasaw an earlier versionLLM analysis, 95% sureReported the failing OpenSUSE buildfarm tests in #102 and supplied filesystem information in #104, prompting the initial fix before the later portability revisions.
Harden astreamer tar parsing logic against archives it can't handle.
2 Apr 2026Tom Lanemaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.4
LLM analysis, 99% suremodified before commitlight changesfrom patchset #981 of 1 reviewer saw the final version

Combines header validation from #98 with type handling from #96, adding symbolic constants and minor cleanup; the supplied commit also includes #67's trailer-check removal for its branch context.

  • Thomas Munrosaw the final versiontrailerTested and approved PAX rejection in #97 and malformed-header rejection in #99, covering both substantive parts of the combined commit.
Fix pg_waldump/t/001_basic.pl with BSD tar on ZFS.
1 Apr 2026Thomas Munromaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #840 of 1 reviewer saw the final version

Preserves #84's --no-read-sparse probe and tar invocation, changing the Perl variable to lowercase and rewriting explanatory comments.

  • Andrew Dunstanno review foundtrailerThe commit credits him, but no pre-commit review of this workaround appears in the thread, and his Windows feedback in #93 came afterward.
Remove a low-value, high-risk optimization in pg_waldump.
25 Mar 2026Tom Lanemaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surewritten from the discussion, no matching patch

Implements Tom Lane's explicit, unattached proposal in #75 to remove read_archive_wal_page()'s buffer-truncation optimization and simplify its invariants.

Fix misuse of simplehash.h hash operations in pg_waldump.
25 Mar 2026Tom Lanemaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #75

Exactly matches the simplehash repair component of the two-patch submission #75, refreshing pointers after hash-entry movement in archive_waldump.c.

Fix file descriptor leakages in pg_waldump.
25 Mar 2026Tom Lanemaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #750 of 1 reviewer saw the final version

Exactly matches the descriptor-cleanup component of #75, closing segment files and moving atexit cleanup into pg_waldump.c.

  • Andrew Dunstansaw an earlier versionLLM analysis, 90% sureIdentified the remaining rmtree failure caused by unclosed files in #70, before Tom Lane supplied the dedicated cleanup implementation.
Fix poorly-sized buffers in astreamer compression modules.
24 Mar 2026Tom Lanemaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #73

The three compression-module changes exactly match #73: 256kB gzip/lz4 decompression buffers and ZSTD_CStreamOutSize() for compression.

Remove read_archive_file()'s "count" parameter.
24 Mar 2026Tom Lanemaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #72

The diff exactly matches #72, removing the count argument and using the unconditional archive_read_buf_size field.

Fix assorted bugs in archive_waldump.c.
22 Mar 2026Tom Lanemaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #69

Applying the EOF and initialization components of #67, followed by #69's replacement spilling patch, produces exactly the committed files; the other series components landed separately.

Remove nonfunctional tar file trailer size check.
22 Mar 2026Tom Lanemaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #671 of 1 reviewer saw the final version

Exactly matches the tar-trailer component of #67, deleting the unreachable two-block limit and explaining permitted trailing padding.

  • Tom Lanesaw the final versiontrailerDiagnosed the dead and incorrect check in #65 and #66, approved the patch in #68, and committed it.
Fix finalization of decompressor astreamers.
22 Mar 2026Tom Lanemaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.4REL_17_STABLE17.10REL_16_STABLE16.14REL_15_STABLE15.18
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #671 of 1 reviewer saw the final version

Takes Andrew Dunstan's decompressor component, last attached in #67; git confirms the supplied commit uses older bbstreamer paths and names but the same valid-byte-count corrections.

  • Tom Lanesaw the final versiontrailerConfirmed the finalization bug in #60, investigated why trailing garbage hid it, and reviewed the final patch before committing.
Move tar detection and compression logic to common.
20 Mar 2026Andrew Dunstanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #532 of 6 reviewers saw the final version

Exactly matches the common-compression component of #53, adding parse_tar_compress_algorithm() and converting pg_basebackup and pg_verifybackup callers.

  • Robert Haasno review foundtrailerHis extensive archive-reader reviews precede the shared-helper patch introduced in #40, and no review of this extraction is shown.
  • Jakub Wartaksaw an earlier versiontrailerQuestioned repeated tar-file detection in the precursor implementation in #4, before its extraction and reuse by other utilities.
  • Chao Lino review foundtrailerHis review in #21 covers other parts of the series but provides no identifiable review of the later shared compression helper.
  • Euler Taveirasaw an earlier versiontrailerReviewed the detection function and proposed moving it to common/compression.c in #34, before the shared callers and subsequent refinements were implemented.
  • Andrew Dunstansaw the final versiontrailerRequested const-correct helper arguments in #45, reviewed the consolidated series, and committed the final helper.
  • Zsolt Parragisaw the final versiontrailerIdentified the filename-length type issue in #51, after which this component received only the requested size_t correction.
pg_verifybackup: Enable WAL parsing for tar-format backups
20 Mar 2026Andrew Dunstanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #531 of 5 reviewers saw the final version

Exactly matches #53's pg_verifybackup component, including archive discovery, --wal-path, the legacy alias, and updated documentation and TAP tests.

  • Robert Haassaw an earlier versiontrailerDiscussussed the long-option rename and compatibility tradeoff in #38, before the alias and later validation changes were finalized.
  • Jakub Wartaksaw an earlier versiontrailerReviewed integration and tested missing-WAL failures through pg_verifybackup in #4 and #17, before later compatibility and validation changes.
  • Chao Lisaw an earlier versiontrailerReviewed translation edits and pg_verifybackup diagnostics in #21, before the legacy alias and later precheck revisions.
  • Euler Taveirasaw an earlier versiontrailerApproved the verification changes and requested preserving --wal-directory in #34, with compatibility and validation changes following.
  • Andrew Dunstansaw the final versiontrailerAdded integration-test feedback and requested the compatibility alias in #42 and #45, then committed the final version.
pg_waldump: Add support for reading WAL from tar archives
20 Mar 2026Andrew Dunstanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #531 of 6 reviewers saw the final version

Takes the archive-decoding component of #53; applying the series shows only a shortened return-value comment and caching getenv("TMPDIR") once in setup_tmpwal_dir().

  • Robert Haassaw an earlier versiontrailerDrove the buffering, hash-table, filtering, and API redesign through #6, #12, #14, #25, and #33, before substantial later revisions.
  • Jakub Wartaksaw an earlier versiontrailerTested argument handling and missing WAL, identified unsafe temporary paths, and verified error propagation in #4 and #17.
  • Chao Lisaw an earlier versiontrailerReviewed callbacks, read counts, spill handles, and tests in #21, before the later filtering and reader rewrites.
  • Euler Taveirasaw an earlier versiontrailerReviewed archive state, diagnostics, ordering, and build integration in #34, before later filtering, cleanup, and lazy-directory changes.
  • Andrew Dunstansaw the final versiontrailerSupplied fixes, consolidated the series, supported lazy directory creation, and committed the final patch as confirmed in #54.
  • Zsolt Parragisaw an earlier versiontrailerFound the positional-path regression and proposed lazy spill-directory creation in #51, followed by local logic and state-passing changes.
pg_waldump: Preparatory refactoring for tar archive WAL decoding.
20 Mar 2026Andrew Dunstanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #531 of 5 reviewers saw the final version

Exactly matches the preparatory-refactoring component of #53, moving declarations to pg_waldump.h, extracting required_read_len(), and placing segment size in XLogDumpPrivate.

  • Robert Haassaw an earlier versiontrailerReviewed the header and read-length refactoring in #25 and requested state-based segment sizing, which was implemented in later revisions.
  • Jakub Wartaksaw an earlier versiontrailerApproved and tested the original preparatory patches in #4, before the later segment-size state refactoring.
  • Chao Lisaw an earlier versiontrailerReviewed initialization and required_read_len() in #21, before subsequent changes to the segment-size representation.
  • Euler Taveirasaw an earlier versiontrailerApproved the header move and discussed keeping refactoring behavior-neutral in #34, before segment size moved into XLogDumpPrivate.
  • Andrew Dunstansaw the final versiontrailerReviewed and consolidated the series in #42, #45, and #47, then committed the final version.

Jan 2026

1 commit
pg_waldump: Remove file-level global WalSegSz.
27 Jan 2026Robert Haasmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #301 of 1 reviewer saw the final version

Exactly matches Robert Haas's standalone patch from #25, most recently republished as the first component of Amul Sul's series in #30.

  • Amul Sulsaw the final versiontrailerExplicitly approved Robert Haas's patch in #31 and incorporated it unchanged into his series.

Credits across 18 commits

Author
Tom Lane4 LLM7
Amul Sul4
Andrew Dunstan2
Robert HaasLLM1
Thomas MunroLLM1
Reviewer
Andrew Dunstan6
Chao Li4
Euler Taveira4
Jakub Wartak4
Robert Haas4
Tom Lane3
Zsolt Parragi2
Amul Sul1
Nazir Bilal Yavuz1
Thomas Munro1
Reported by
Tomas Vondra1
Co author
Andrew Dunstan1
Sami Imseih1
Thomas Munro1
Committer
Tom Lane10
Andrew Dunstan5
Thomas Munro2
Robert Haas1

N LLM means N of the credits come from LLM analysis, not from commit trailers.