Sep 2025

2 commits
Reorder XLogNeedsFlush() checks to be more consistent
30 Sep 2025Michael Paquiermaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surelanded as postedfrom patchset #361 of 2 reviewers saw the final version

Both diff hunks in src/backend/access/transam/xlog.c match the attachment in #36, moving the quick exit before the crash-recovery check and adding an explicit return there. Michael confirms applying the reorder patch in #38; the separate inline GetRecoveryState() proposal was not included.

  • Dilip Kumarno review foundtrailerDespite the commit's reviewer credit, the supplied thread contains no review by Dilip of this cleanup; his question in #35 predates its submission and asks which checks were meant.
  • Michael Paquiersaw the final versioncommittercommitted the patch
Make XLogFlush() and XLogNeedsFlush() decision-making more consistent
19 Sep 2025Michael Paquiermaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #313 of 3 reviewers saw the final version

The commit retains the assertion and XLogInsertAllowed() substitution from #31, with only comments and the commit message rewritten, as Michael reports in #32. It credits Melanie Plageman as author and Dilip Kumar as co-author, consistent with Melanie's original report and inline fix in #1.

  • Jeff Davissaw the final versiontrailerJeff explained the end-of-recovery behavior and requested clearer rationale in #18, then approved the revision in #20, after which only comments and commit-message wording changed.
  • Chao Lisaw the final versiontrailerChao identified ambiguous wording in the recovery-check comment in #28, and subsequent changes through the committed version were editorial.
  • Michael Paquiersaw the final versiontrailerMichael rejected the expensive fast-path change in #15, reviewed and tested the assertion approach in #24 and #27, refined comments in #30, and committed the final version as reported in #32.

Credits across 2 commits

Author
Melanie Plageman2
Reviewer
Michael Paquiercommitter2
Chao Li1
Dilip Kumar1
Jeff Davis1
Co author
Dilip Kumar1
Committer
Michael Paquier2