Jun 2025

1 commit
Use replay LSN as target for cascading logical WAL senders
2 Jun 2025Michael Paquiermaster18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2REL_17_STABLE17.6REL_16_STABLE16.10
LLM analysis, 100% suremodified before commitlight changesfrom patchset #92 of 3 reviewers saw the final version

The commit retains the exact executable change from #9 in src/backend/replication/walsender.c: XLogSendLogical() uses GetXLogReplayRecPtr(NULL) for cascading WAL senders. Only the explanatory comment and commit message change, with the comment adopting Ajin's wording from #11.

  • Ajin Cheriansaw the final versiontrailerAjin verified the initial fix and requested clearer comments in #2, then supplied the final comment wording for #9 in #11.
  • Bertrand Drouvotsaw an earlier versiontrailerBertrand endorsed the analysis and proposed fix and requested an updated function header in #5, before #9 moved the fix from the shared helper to its logical-sender caller.
  • Michael Paquiersaw the final versiontrailerMichael challenged the helper dependency in #8, endorsed the caller-specific fix in #10, and committed it after testing PostgreSQL 16 and 17 as reported in #13.

Credits across 1 commit

Author
Alexey Makhmutov1
Reviewer
Ajin Cherian1
Bertrand Drouvot1
Michael Paquier1
Committer
Michael Paquier1