Nov 2026

1 commit
pg_receivewal: Fix resource leaks and error reporting during cleanup
20 Nov 2026Fujii MasaomasterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleased
LLM analysis, 100% surelanded as postedfrom patchset #13 of 3 reviewers saw the final version

The committed diff matches #1 exactly after removing blob IDs and hunk line numbers: dir_close() closes the descriptor and runs cleanup on LZ4 failures, while ReceiveXlogStream() saves the pathname before closing. Fujii confirmed pushing the proposed patch independently of further unlink cleanup in #11.

  • Chao Lisaw the final versiontrailerChao questioned bypassing successful-close operations in #2 and identified the separate CLOSE_UNLINK cleanup issue in #5; the reviewed patch landed unchanged.
  • Michael Paquiersaw the final versiontrailerMichael supported backpatching and discussed descriptor accumulation under repeated service failures in #4, reviewing the version that landed unchanged.
  • Xuneng Zhousaw the final versiontrailerXuneng approved the fix and questioned the existing skipped-unlink behavior in #6, reviewing the version that landed unchanged.

Credits across 1 commit

Author
Fujii Masao1
Reviewer
Chao Li1
Michael Paquier1
Xuneng Zhou1
Committer
Fujii Masao1