pgsql: Fix rare bug in read_stream.c's split IO handling.

2025-08-08 Thread Thomas Munro
Fix rare bug in read_stream.c's split IO handling. The internal queue of buffers could become corrupted in a rare edge case that failed to invalidate an entry, causing a stale buffer to be "forwarded" to StartReadBuffers(). This is a simple fix for the immediate problem. A small API change might

pgsql: Fix rare bug in read_stream.c's split IO handling.

2025-08-08 Thread Thomas Munro
Fix rare bug in read_stream.c's split IO handling. The internal queue of buffers could become corrupted in a rare edge case that failed to invalidate an entry, causing a stale buffer to be "forwarded" to StartReadBuffers(). This is a simple fix for the immediate problem. A small API change might