Oct - Nov 2025

5 commits
Add assertions checking for the startup process in WAL replay routines
5 Nov 2025Michael Paquiermaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #151 of 1 reviewer saw the final version

The commit exactly matches the three assertion additions in #15, across src/backend/access/transam/xlog.c and src/backend/access/transam/xlogrecovery.c.

  • Xuneng Zhousaw the final versiontrailerXuneng explicitly approved the assertion patch in #16, explaining that it enforces startup-process control of the WAL receiver lifecycle.
Add assertion check for WAL receiver state during stream-archive transition
4 Nov 2025Michael Paquiermaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #122 of 2 reviewers saw the final version

The commit takes the third component of #12, adding Assert(WalRcvGetState() != WALRCV_STOPPING) in WaitForWALToBecomeAvailable(). Only the explanatory comment is reflowed and lightly edited.

  • Noah Mischsaw the final versionLLM analysis, 96% sureNoah analyzed why WALRCV_STOPPING must be unreachable and proposed the adopted assertion while reviewing #2 in #6, an idea also credited by the commit.
  • Michael Paquiersaw the final versioncommittercommitted the patch
Add WalRcvGetState() to retrieve the state of a WAL receiver
4 Nov 2025Michael Paquiermaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #121 of 1 reviewer saw the final version

The commit takes the second component of #12, preserving the spinlock-protected WalRcvGetState() implementation and its declaration in src/include/replication/walreceiver.h. The function's introductory comment is shortened.

  • Michael Paquiersaw the final versioncommittercommitted the patch
Fix unconditional WAL receiver shutdown during stream-archive transition
4 Nov 2025Michael Paquiermaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.1REL_17_STABLE17.7REL_16_STABLE16.11REL_15_STABLE15.15REL_14_STABLE14.20REL_13_STABLE13.23
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #122 of 2 reviewers saw the final version

The commit takes the first component of #12, excluding the already committed changes to 040_standby_failover_slots_sync.pl as requested in #13. Conditional shutdown is unchanged; ResetInstallXLogFileSegmentActive() is relocated beside its setter, and comments and test formatting are polished.

  • Noah Mischsaw the final versiontrailerNoah validated the reachable-state logic, requested regression coverage, and examined archive-recovery interactions in #6; the committed fix retains that logic with light subsequent changes.
  • Michael Paquiersaw the final versiontrailerMichael supplied the timeline-switch test in #7, requested the split in #11, identified redundant test changes in #13, and committed the final version.
Add test tracking WAL receiver shutdown for primary_conninfo updates
31 Oct 2025Michael Paquiermaster19beta1REL_19_STABLE19beta1
LLM analysis, 95% surepart of a posted patchsetlight changesfrom patchset #101 of 1 reviewer saw the final version

Michael explicitly reports extracting and committing the positive shutdown test from #10 in #11. The commit adds log-offset capture and wait_for_log() to 040_standby_failover_slots_sync.pl; #12 later accidentally repeats this test, but postdates the commit.

  • Michael Paquiersaw the final versioncommittercommitted the patch

Credits across 5 commits

Author
Xuneng Zhou4
Michael PaquierLLM1
Reviewer
Michael Paquiercommitter4
Noah Misch1
Xuneng Zhou1
Reported by
xingguo1
Committer
Michael Paquier5

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