On Thu, Oct 08, 2026 at 06:55:23AM +0000, Bertrand Drouvot wrote:
> As mentioned upthread [1], I think XLogReaderFree() should also check whether
> seg.ws_file >= 0.
>
> Please find attached a small patch doing that.
I have been leaving this one out from the main patch on purpose, as it
was unrelated. As far as I can see it is the only code path in the
core code that uses a non-zero value for a comparison of ws_file.
Done.
--
Michael