Oct 2026

2 commits
Treat any negative ws_file as closed in xlogreader.c
9 Oct 2026Michael Paquiermasterunreleased
LLM analysis, 100% surelanded as postedfrom patchset #182 of 2 reviewers saw the final version

The sole hunk in src/backend/access/transam/xlogreader.c exactly matches #18, replacing != -1 with >= 0 in XLogReaderFree(); the commit message expands the rationale.

  • Bharath Rupireddysaw the final versionLLM analysis, 88% sureBefore the commit, Bharath examined the descriptor values used by core and external callbacks and questioned whether the change was needed beyond consistency #19.
  • Michael Paquiersaw the final versioncommittercommitted the patch
Fix WAL segment fd leaks with the WAL reading facility (xlogreader.c/h)
8 Oct 2026Michael Paquiermasterunreleased
LLM analysis, 100% suremodified before commitlight changesfrom patchset #162 of 4 reviewers saw the final version

The commit preserves the callback logic, header additions and three registration sites from #16, while relocating helper definitions, integrating FRONTEND guards with intervening ZSTD code, and editing comments and the commit message. Michael confirms applying it after review and a few tweaks #17.

  • Bertrand Drouvotsaw the final versiontrailerBertrand reviewed the opt-in design and requested the nonnegative descriptor check and clearer unmanaged-descriptor documentation, which were incorporated alongside naming and comment refinements #11 #15 #16.
  • Sami Imseihsaw an earlier versiontrailerSami ran check-world with an assertion, confirmed logical-decoding leaks and discovered a clean physical-walsender exit leak, before registration was redesigned #2.
  • Chao Lisaw an earlier versiontrailerChao reviewed the callback contract, FRONTEND guard and allocation behavior of the initial patch, before the later opt-in redesign #3 #6.
  • Michael Paquiersaw the final versiontrailerMichael challenged unconditional registration, supplied the opt-in helper revision, checked the reproducer and reviewed the final patch before committing it #4 #8 #10 #17.

Credits across 2 commits

Author
Bertrand Drouvot1
Bharath Rupireddy1
Reviewer
Michael Paquiercommitter2
Bertrand Drouvot1
Chao Li1
Sami Imseih1
Committer
Michael Paquier2