model-writtenrun 95 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alexander Lakhin reported intermittent standby logical-decoding test failures and supplied instrumentation showing that libpq received the recovery-conflict FATAL message but pg_recvlogical reported only a closed connection when streaming had not yet begun #1.
- After Hayato Kuroda reported missing recovery directories and difficulty reproducing the failure #2, Alexander supplied a corrected reproducer that delayed logical replication startup without modifying the test #3.
- Hayato traced the lost error to PQexecFinish() returning the last of two fatal results and argued that its backward-compatible behavior should remain unchanged; the test should instead wait until pg_recvlogical entered streaming mode #4.
- Hayato implemented that synchronization using --verbose and the streaming-initiated message #5; Alexander confirmed that it fixed the reproducer #6, and Bertrand Drouvot approved the approach and output verbosity #8.
- Fujii Masao revised the fix to reuse the active timeout and abort when streaming failed to start, and supplied a separate correction for the mismatched slot prefix that made removal checks pass without checking the actual slots #10.
- Hayato accepted Fujii's corrections and raised the possibility that another timer in the same test also needed repair #11.
- Fujii committed the race fix unchanged from the first patch in #10 as 487b710bc4 and the slot-prefix correction unchanged from its second patch as d6cf162f74, with both changes backpatched through PostgreSQL 16.
- Fujii confirmed that both patches had landed and acknowledged that the other timer probably needed attention, while stating that he had not examined it in detail; that follow-up remained unresolved at the end of the thread #12.