model-writtenrun 7309 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Whale Song reported that terminating a logical WAL sender could take a long time when wal2json filtered a large transaction, and proposed adding CHECK_FOR_INTERRUPTS() inside the ReorderBufferCommit() loop #1.
- Masahiko Sawada initially could not reproduce the problem because the normal output path checks interrupts, but Whale Song clarified that filtering the test table bypasses WalSndWriteData() #2 #3.
- Masahiko reproduced the issue on PostgreSQL 10.22 and HEAD, supplied a patch adding an interrupt check to the core logical-change processing loop, and recommended backpatching through PostgreSQL 10 #4.
- The same fix subsequently appeared in Masahiko's later submission #513443 in thread #46417, which takes source attribution under the latest-matching-submission rule.
- Kyotaro Horiguchi endorsed keeping interrupt handling in core and approved the patch while suggesting a comment explaining why output-plugin checks cannot be relied upon #5.
- Amit Kapila committed the interrupt check as f972ec5c28, attributed to the later submission in thread #46417 and marked for backpatching through PostgreSQL 10; his final reply confirmed the landing and left the optional explanatory comment open for further agreement #6.