Apr 2024

3 commits
Allow using copy_file_range in write_reconstructed_file
5 Apr 2024Tomas Vondramaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 94% surepart of a posted patchsetlight changesfrom patchset #411 of 3 reviewers saw the final version

The reconstruct.c diff implements the third component described in #41: copy_file_range reconstruction, separate checksum reads and read_block()/write_block() helpers. #44 identifies this series as the committed source with minor cleanups and parameter reordering; unavailable attachments prevent an exact comparison.

  • Thomas Munrosaw an earlier versiontrailerProposed sub-file sharing with checksum reads in #17 and reviewed batching and short-copy handling in #33, before the reconstruction flow was refactored in #41.
  • Jakub Wartaksaw the final versiontrailerReported reconstruction failures in #24, confirmed fixes in #27, and tested the final series with and without checksums in #42.
  • Robert Haassaw an earlier versiontrailerReviewed the earlier series' logging, documentation and copy strategy in #22 and #30, before checksum-enabled reconstruction and the final helper refactor.
Allow copying files using clone/copy_file_range
5 Apr 2024Tomas Vondramaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 94% surepart of a posted patchsetlight changesfrom patchset #411 of 3 reviewers saw the final version

Matches the second component of #41, adding whole-file clone/copy_file_range strategies, early support checks and checksum_file(); #44 reports documentation corrections and parameter reordering before commit. The commit credits Jakub Wartak's initial patch alongside sender Tomas Vondra's rework.

  • Thomas Munrosaw an earlier versiontrailerArgued in #17 for retaining CoW sharing even when checksum reads are necessary, before the whole-file implementation gained that behavior in #31.
  • Jakub Wartaksaw the final versiontrailerReviewed and tested successive versions in #24, #27 and #40, then reported successful final-series tests in #42.
  • Robert Haassaw an earlier versiontrailerCorrected checksum policy in #14 and #16 and reviewed logging, documentation and dispatch in #22 and #30, before separate checksum reads replaced fallback copying.
Align blocks in incremental backups to BLCKSZ
5 Apr 2024Tomas Vondramaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 95% surepart of a posted patchsetlight changesfrom patchset #411 of 2 reviewers saw the final version

Implements the first component of #41: BLCKSZ padding in basebackup.c, aligned header-size calculation and matching reconstruct.c offsets, excluding files without block data. #44 confirms this component landed with minor cleanups; the source attachment is unavailable.

  • Robert Haassaw an earlier versiontrailerThe off-list review reported in #41 caught padding of files without blocks, leading to an additional conditional case after the version in #37.
  • Jakub Wartaksaw the final versiontrailerReported successful incremental-backup tests of the alignment-containing series in #40 and the final revision in #42.

Mar 2024

1 commit
Add --copy-file-range option to pg_upgrade.
5 Mar 2024Thomas Munromaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #30 of 1 reviewer saw the final version

Retains the direct pg_upgrade implementation from #3, rather than the shared-library rework in #8. Besides rebasing, the commit removes the faulty EINTR exception in file.c, renames the check file and updates TESTING; #10 explicitly confirms the error-handling edit.

  • Peter Eisentrautsaw an earlier versiontrailerRequested the preflight check in #2 and approved the revised patch with a filename nit in #4, before the committer changed EINTR error handling.

Credits across 4 commits

Author
Tomas Vondra3
Jakub Wartak1
Thomas MunroLLM1
Reviewer
Jakub Wartak3
Robert Haas3
Thomas Munro2
Peter Eisentraut1
Committer
Tomas Vondra3
Thomas Munro1

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