Mar 2026

2 commits
Fix WAL flush LSN used by logical walsender during shutdown
16 Mar 2026Fujii Masaomaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.4REL_17_STABLE17.10REL_16_STABLE16.14REL_15_STABLE15.18REL_14_STABLE14.23
LLM analysis, 100% surelanded as postedfrom patchset #171 of 1 reviewer saw the final version

The commit diff exactly matches #17, including the GetXLogInsertEndRecPtr() substitution and explanatory comment in src/backend/replication/walsender.c. Fujii Masao sent that revision, but its Author trailer credits Anthonin Bonnefoy, who supplied the original fix in #15.

  • Fujii Masaosaw the final versiontrailerFujii approved #15 in #16, prepared the narrowed revision #17, and committed the final patch.
Fix publisher shutdown hang caused by logical walsender busy loop.
6 Mar 2026Fujii Masaomaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.4REL_17_STABLE17.10REL_16_STABLE16.14REL_15_STABLE15.18REL_14_STABLE14.23
LLM analysis, 100% surelanded as postedfrom patchset #121 of 2 reviewers saw the final version

The commit diff exactly matches #12: the shutdown path in src/backend/replication/walsender.c uses XLogFlush(GetXLogInsertRecPtr()) with a recovery guard. The attachment and commit credit Anthonin Bonnefoy, whose implementation in #8 Fujii Masao revised and forwarded.

  • Alexander Lakhinsaw an earlier versiontrailerAlexander reported 100 successful test iterations against #8 in #10, before #12 added the recovery-specific execution guard.
  • Fujii Masaosaw the final versiontrailerFujii questioned abort-path overhead in #4, proposed the walsender-only fix in #7, endorsed #8, and prepared and committed #12.

Credits across 2 commits

Author
Anthonin Bonnefoy2
Reviewer
Fujii Masao2
Alexander Lakhin1
Reported by
Andres Freund1
Committer
Fujii Masao2