Apr 2026

1 commit
Use XLogRecPtrIsValid() consistently for WAL position checks
16 Apr 2026Fujii Masaomaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #63 of 3 reviewers saw the final version

The commit preserves all four hunks from #6, removing only redundant outer parentheses around XLogRecPtrIsValid(latestApplyPtr) in src/backend/replication/walreceiver.c and rewriting the commit message. Fujii Masao confirms applying Amul Sul's suggestion and pushing in #8.

  • Xiaopeng Wangsaw the final versiontrailerIn #5, he endorsed #3 subject to using XLogRecPtrIsValid(); subsequent changes only reversed the equivalent ternary expression and removed redundant parentheses.
  • Amul Sulsaw the final versiontrailerIn #7, he said #6 looked good and requested removal of redundant outer parentheses, which the committer applied.
  • Fujii Masaosaw the final versiontrailerHe requested broader cleanup in #2, corrected the predicate choice in #4, and reviewed and committed the final version with Amul's adjustment as confirmed in #8.

Credits across 1 commit

Author
vignesh C1
Reviewer
Amul Sul1
Fujii Masao1
Xiaopeng Wang1
Committer
Fujii Masao1