Hi, I'd like to propose the attached patch to fix file descriptor and memory leaks when LZ4 compression finalization or the final write fails. Without this fix, repeated failures can cause these resources to accumulate.
Thoughts? Regards, -- Fujii Masao
v1-0001-pg_receivewal-Fix-resource-leaks-and-error-report.patch
Description: Binary data
