model-writtenrun 8572 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Thomas Munro reported an intermittent logical-decoding test failure in which pg_recvlogical repeated records that should already have been acknowledged, and considered the unrelated pg_stat_statements patch under test unlikely to be responsible #1.
- More than two years later, Noah Misch traced the failure to pg_recvlogical disconnecting before draining backend messages, allowing an EPIPE error before the server confirmed the received location; he supplied a reproducer explicitly excluded from committing #2.
- Noah Misch supplied a fix that drains COPY data and checks the final result, also exposing late server errors, and extended the recovery test with WAL beyond the requested end position #2; that production patch landed unchanged as 8222a9d9a1.
- Noah Misch also identified an inverted fsync-position comparison in sendFeedback() without including it in the attachments #2; the proposed one-line correction landed separately as cee9cadb59, whose commit explanation establishes that the defect could suppress needed acknowledgments and repeat already-flushed records.
- The final message left unexpected-termination exit status and signal-handling issues unchanged #2; the supplied commits resolve the COPY shutdown and feedback-comparison defects, with no subsequent review or resolution of those remaining issues recorded in this thread.