Jul 2025

1 commit
Update comment for ReplicationSlot.last_saved_restart_lsn
21 Jul 2025Alexander Korotkovmaster19beta1REL_19_STABLE19beta1Also in: Document slot's restart_lsn can go backward (landed as posted)

Jun 2025

6 commits
Fix CheckPointReplicationSlots() with max_replication_slots == 0
27 Jun 2025Alexander Korotkovmaster18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2
LLM analysis, 100% surelanded as postedfrom patchset #752 of 2 reviewers saw the final version

Matches #75's last_saved_restart_lsn_updated guard in CheckPointReplicationSlots(), with only comment line wrapping changed. Alexander explicitly stated he would push it as submitted in #77.

  • Hayato Kuroda (Fujitsu)saw the final versionLLM analysis, 100% sureHayato reviewed the flag assignment in #76 and explicitly confirmed no objections in #78 before the commit.
  • Dilip Kumarsaw the final versionLLM analysis, 100% sureDilip endorsed conditional recomputation in #74 and said the final patch looked good in #79 before the commit.
Remove excess assert from InvalidatePossiblyObsoleteSlot()
23 Jun 2025Alexander Korotkovmaster18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2
LLM analysis, 100% suremodified before commitlight changesfrom patchset #682 of 2 reviewers saw the final version

The two-line assertion deletion in src/backend/replication/slot.c exactly matches #68. The commit message additionally mentions pg_basebackup, incorporating Vignesh's suggestion in #69.

  • Vignesh Csaw the final versiontrailerVignesh reproduced backward movement and endorsed assertion removal in #66, then approved the revised patch and requested the pg_basebackup mention in #69.
  • Amit Kapilasaw the final versiontrailerAmit corrected the failure explanation in #61 and agreed assertion removal was appropriate in #65, after which only the commit explanation changed.
Improve runtime and output of tests for replication slots checkpointing.
19 Jun 2025Alexander Korotkovmaster18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2REL_17_STABLE17.6
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #601 of 1 reviewer saw the final version

Takes the complete test-improvement member of #60 unchanged, including advance_wal(20), extension checks and note() cleanup. The separate assertion-removal member was left for a later commit; the test patch credits Alexander Korotkov and Vitaly Davydov.

  • Hayato Kurodasaw the final versiontrailerHayato requested extension checks and removal of preloading in #52, then proposed the adopted advance_wal() replacement in #54.
Add TAP tests to check replication slot advance during the checkpoint
14 Jun 2025Alexander Korotkovmaster18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2REL_17_STABLE17.6
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #442 of 2 reviewers saw the final version

Takes the complete test member of #44 unchanged: two injection points, recovery-test registration, and logical/physical checkpoint tests. The forwarded patch credits Vitaly Davydov and Tomas Vondra, whose reproducer originated in #11.

  • Alexander Korotkovsaw the final versiontrailerAlexander consolidated and relocated the tests in #23, polished them in #24, and reviewed the final version as committer.
  • Amit Kapilasaw the final versiontrailerAmit examined the logical-slot race discussed alongside the reproducer in #30 and raised no objection to the final two-patch landing in #45.
Keep WAL segments by the flushed value of the slot's restart LSN
14 Jun 2025Alexander KorotkovREL_17_STABLE17.6REL_16_STABLE16.10REL_15_STABLE15.14REL_14_STABLE14.19REL_13_STABLE13.22
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #292 of 3 reviewers saw the final version

Takes the checkpoint-start retention member of #29, including its xlog.c changes and replication comments, adapted to stable-branch context. Tests and the optional recomputation cleanup are excluded, and the commit message explains the ABI-preserving purpose.

  • Tomas Vondrasaw an earlier versiontrailerTomas analyzed the original race and proposed capturing the minimum LSN before CheckPointGuts() in #5 and #6, before the substantially reworked implementation appeared.
  • Alexander Korotkovsaw the final versiontrailerAlexander reviewed invalidation resynchronization in #21, prepared successive revisions, and reviewed the final stable-branch adaptation as committer.
  • Amit Kapilasaw the final versiontrailerAmit reviewed logical-slot safety and comment accuracy in #25, #27 and #30, then accepted using this approach for back branches in #41 and #45.
Keep WAL segments by slot's last saved restart LSN
14 Jun 2025Alexander Korotkovmaster18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #441 of 1 reviewer saw the final version

Takes the complete saved-LSN implementation from #44, with identical slot.c and slot.h hunks, while leaving its tests for a separate commit. The commit rewrites the explanation and credits original author Vitaly Davydov together with Alexander Korotkov.

  • Amit Kapilasaw the final versiontrailerAmit requested the last_saved_restart_lsn name and persistency explanation in #38, corrected comment formatting in #42, and accepted the final patch in #45.

Credits across 7 commits

Author
Alexander Korotkov2 LLM4
Vitaly Davydov4
Hayato Kuroda (Fujitsu)1
Tomas Vondra1
Reviewer
Amit Kapila5
Alexander Korotkov3
vignesh C2
Hayato Kuroda (Fujitsu)1
Tomas Vondra1
Reported by
Tom Lane2
Alexander Lakhin1
vignesh C1
Zhijie Hou (Fujitsu)1
Co author
Amit Kapila1
Committer
Alexander Korotkov7

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