Dec 2023 - Jan 2024

9 commits
Fix defects in PrepareForIncrementalBackup.
3 Jan 2024Robert Haasmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #971 of 1 reviewer saw the final version

Takes the timeout-use hunk from #97 and adds the TimestampDifferenceMilliseconds argument swap identified in #98. The reconstruct.c changes are omitted because Tom had already handled them, as explained in #103.

  • Alexander Lakhinsaw the final versionLLM analysis, 100% sureReviewed #97, identified the reversed timestamp arguments, and accepted the other corrections in #98.
Add WALSummarizerLock to wait_event_names.txt
2 Jan 2024Robert Haasmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

Adds the missing WALSummarizerLock entry to src/backend/utils/activity/wait_event_names.txt directly from Nathan's report in #101; no attachment contains this addition.

  • Nathan Bossartsaw the final versionLLM analysis, 100% sureIdentified the missing wait-event entry in #101, which Robert confirmed fixed in #102.
Initialize variable to placate compiler.
27 Dec 2023Robert Haasmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surelanded as postedfrom patchset #992 of 2 reviewers saw the final version

The initialization of unsummarized_lsn to InvalidXLogRecPtr has the same stable patch ID as #99; Robert explicitly confirms using Nathan's fix in #100.

  • Andrew Dunstansaw the final versionLLM analysis, 94% sureThe commit credits Andrew with an independent off-list report of the same compiler warning da083b20f6.
  • Robert Haassaw the final versioncommittercommitted the patch
Replace nonsense comment with a relevant one.
21 Dec 2023Robert Haasmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

Replaces the copied, irrelevant MaybeRemoveOldWalSummaries comment following Alexander's report in #94; this correction is absent from his attached typo patch.

  • Alexander Lakhinsaw the final versionLLM analysis, 100% surePointed out that MaybeRemoveOldWalSummaries had a copied variable comment instead of a description of its behavior in #94.
Fix numerous typos in incremental backup commits.
21 Dec 2023Robert Haasmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #962 of 2 reviewers saw the final version

Applies Alexander's typo corrections from #96, with two additional spelling fixes, comment reflow, and a catalog-version bump for the pg_proc.dat description change.

  • Andres Freundsaw the final versionLLM analysis, 95% sureThe commit explicitly attributes additional corrections to Andres's off-list report 49f2194ed5.
  • Robert Haassaw the final versioncommittercommitted the patch
Add support for incremental backup.
20 Dec 2023Robert Haasmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surelanded as postedfrom patchset #913 of 8 reviewers saw the final version

The complete incremental-backup component of #91 has an identical stable patch ID, including UPLOAD_MANIFEST, pg_basebackup support, pg_combinebackup, documentation, and tests.

  • Matthias van de Meentsaw an earlier versionLLM analysis, 100% sureQuestioned FSM-fork handling for custom resource managers in #4, before substantial subsequent revisions.
  • Dilip Kumarsaw the final versionLLM analysis, 96% sureReviewed allocation and implementation details and tested primary/standby backups through #79, after which this component received only light changes.
  • Jakub Wartaksaw the final versionLLM analysis, 100% sureReported extensive restore and failure-case testing, culminating in successful testing of #90 and fourteen chained incrementals in #92 before commit.
  • Peter Eisentrautsaw the final versionLLM analysis, 100% sureReviewed configuration choices and requested consistent pg_combinebackup option ordering and corrected --sync-method documentation in #87, incorporated in #90.
  • Alvaro Herrerasaw an earlier versionLLM analysis, 100% sureReviewed interfaces, hash keys, and backup logic and supplied NLS fixes in #64, before the protocol and waiting logic were substantially revised.
  • Thomas Munrosaw an earlier versionLLM analysis, 100% sureDiagnosed and experimentally bypassed the Windows copy_file checksum bug in #70, before subsequent protocol and timeout changes.
  • David Steelesaw an earlier versionLLM analysis, 96% sureExplained why physical backup comparisons were unreliable in #10 and proposed the adopted summarizer/backup split in #27.
  • Andres Freundsaw an earlier versionLLM analysis, 91% sureRaised missing-file, unlogged-relation, manifest-size, and tar-access considerations for the initial design in #2.
Add a new WAL summarizer process.
20 Dec 2023Robert Haasmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #912 of 7 reviewers saw the final version

Matches the WAL-summarizer component of #91 except that two obsolete MemoryContextResetAndDeleteChildren calls become MemoryContextReset, as requested in #85.

  • Matthias van de Meentsaw an earlier versionLLM analysis, 100% sureReviewed the original treatment of FSM changes in #4, well before the summarizer's configuration and progress handling evolved.
  • Dilip Kumarsaw an earlier versionLLM analysis, 96% sureReviewed summary-range semantics and WAL-record handling in #48 and #53 and later tested standby operation, before the pending-LSN reset change.
  • Jakub Wartaksaw the final versionLLM analysis, 100% sureExercised summarization across timelines, minimal WAL, stalls, and repeated backups, with final successful results for #90 reported in #92.
  • Peter Eisentrautsaw the final versionLLM analysis, 100% sureInfluenced the disabled default and retention policy and supplied final Meson and memory-context corrections in #85.
  • Alvaro Herrerasaw an earlier versionLLM analysis, 100% sureReviewed hash-key initialization, interrupt handling, process startup, and progress state in #49, #54, and #56, before later progress-state fixes.
  • Andres Freundsaw an earlier versionLLM analysis, 100% sureSupported redo markers and tested a nearly million-relation workload in #43, helping justify removal of wal_summarize_mb.
  • David Steelesaw an earlier versionLLM analysis, 88% sureProposed separating the WAL summarizer from backup changes in #27, which Robert implemented in #35.
Move src/bin/pg_verifybackup/parse_manifest.c into src/common.
19 Dec 2023Robert Haasmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surelanded as postedfrom patchset #906 of 6 reviewers saw the final version

The manifest-relocation patch in #90, including Peter's corrected pg_verifybackup/nls.mk paths, has an identical stable patch ID.

  • Peter Eisentrautsaw the final versionLLM analysis, 100% sureSupplied the NLS path correction for the manifest move in #85, incorporated into #90.
  • Alvaro Herrerasaw the final versionLLM analysis, 100% sureExplicitly reviewed the relocation and discussed its filename and commit timing in #54, with only light subsequent changes.
  • Dilip Kumarsaw the final versionLLM analysis, 94% sureThe commit explicitly credits Dilip's series review, although no component-specific manifest-relocation review is identifiable here aafc07c7a1.
  • Andres Freundsaw the final versionLLM analysis, 94% sureThe commit explicitly credits Andres's series review, with his surname misspelled, but the thread shows no specific review of this relocation aafc07c7a1.
  • David Steelesaw the final versionLLM analysis, 94% sureThe commit explicitly credits David's series review without identifying a manifest-relocation review in this thread aafc07c7a1.
  • Jakub Wartaksaw the final versionLLM analysis, 94% sureThe commit explicitly credits Jakub's series review, while his thread reports primarily test backup behavior rather than this relocation aafc07c7a1.
Fix brown paper bag bug in 5c47c6546c413d5eb51c1626070a807026e6139d.
19 Dec 2023Robert Haasmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surelanded as postedfrom patchset #901 of 1 reviewer saw the final version

The name[0]-to-name[1] correction in src/backend/storage/file/reinit.c exactly matches the standalone fix in #90; the commit message corrects which earlier commit introduced the bug.

  • Jakub Wartaksaw the final versionLLM analysis, 100% sureReported that noninitial relation segments were always copied in full in #84, directly motivating this one-line fix; his later confirmation postdates this commit.

Dec 2023

2 commits
Rename pg_verifybackup's JsonManifestParseContext callback functions.
5 Dec 2023Robert Haasmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surelanded as postedfrom patchset #731 of 1 reviewer saw the final version

The pg_verifybackup callback-function renaming patch in #73 has an identical stable patch ID; #75 confirms its separate commitment.

  • Alvaro Herrerasaw the final versionLLM analysis, 100% sureRequested program-specific callback names in #49 and explained the code-navigation problem in #56, leading directly to the committed rename.
Rename JsonManifestParseContext callbacks.
5 Dec 2023Robert Haasmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surelanded as postedfrom patchset #731 of 1 reviewer saw the final version

The JsonManifestParseContext callback-field rename in #73 has an identical stable patch ID and implements the underscore naming discussed in #56.

  • Alvaro Herrerasaw the final versionLLM analysis, 100% sureSuggested underscore-separated callback fields in #49 and endorsed per_wal_range_cb in #56.

Nov 2023

1 commit
Change how a base backup decides which files have checksums.
14 Nov 2023Robert Haasmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surelanded as postedfrom patchset #512 of 2 reviewers saw the final version

The checksum-selection refactor in #51 has an identical stable patch ID, replacing is_checksummed_file with relation identification already performed by sendDir.

  • Dilip Kumarsaw the final versionLLM analysis, 100% sureExplicitly judged the checksum-selection patch a useful independent improvement in #48, and its code remained unchanged before commit.
  • Alvaro Herrerasaw the final versionLLM analysis, 100% sureExplicitly said the checksum-selection patch was ready to push in #54, before its commitment that day.

Oct 2023

3 commits
Change struct tablespaceinfo's oid member from 'char *' to 'Oid'
23 Oct 2023Robert Haasmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surelanded as postedfrom patchset #201 of 1 reviewer saw the final version

The tablespaceinfo OID-conversion patch in #20 has an identical stable patch ID, including numeric-name validation and backup/recovery call-site changes.

  • David Steelesaw the final versionLLM analysis, 100% sureEndorsed the OID conversion and discussed comparable pgBackRest validation in #21.
Refactor parse_filename_for_nontemp_relation to parse more.
23 Oct 2023Robert Haasmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surelanded as postedfrom patchset #201 of 1 reviewer saw the final version

The relation-filename parsing refactor in #20 has an identical stable patch ID, returning relation and segment numbers and adjusting reinit.c callers.

  • David Steelesaw the final versionLLM analysis, 100% sureReviewed filename construction in #21 and accepted the existing implementation after discussion in #24.
During online checkpoints, insert XLOG_CHECKPOINT_REDO at redo point.
19 Oct 2023Robert Haasmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1Also in: Lowering the default wal_blocksize to 4K (not this thread)Also in: New WAL record to detect the checkpoint redo location (modified before commit)

Oct 2023

2 commits
In basebackup.c, refactor to create read_file_data_into_buffer.
3 Oct 2023Robert Haasmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surelanded as postedfrom patchset #91 of 1 reviewer saw the final version

The read_file_data_into_buffer extraction in #9 has an identical stable patch ID; Robert announces commitment of both initial refactors in #16.

  • David Steelesaw the final versionLLM analysis, 100% sureExplicitly raised no objections to the two basebackup.c refactors in #10, and the commit credits his review.
In basebackup.c, refactor to create verify_page_checksum.
3 Oct 2023Robert Haasmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surelanded as postedfrom patchset #91 of 1 reviewer saw the final version

The verify_page_checksum extraction in #9 has an identical stable patch ID, including checksum retry handling and simplification of sendFile.

  • David Steelesaw the final versionLLM analysis, 100% sureExplicitly raised no objections to the two basebackup.c refactors in #10, and the commit credits his review.

Credits across 17 commits

Author
Robert HaasLLM13
Alexander LakhinLLM1
Nathan BossartLLM1
Reviewer
Robert Haascommitter2
Committer
Robert Haas17

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