model-writtenrun 7585 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- The thread began with Michael Paquier's announcement that c50624cdd2 consolidated connection checks across the authentication, Kerberos, LDAP and SSL TAP suites, extending the shared helpers with optional queries and output checks #1.
- Tom Lane reported broken-pipe failures on buildfarm animals and suspected a race between psql exiting and Perl writing a query to its stdin #2.
- Michael initially proposed removing on_error_stop from connect_ok() #3, but Tom reproduced the failure and demonstrated that this patch did not fix it, so that approach was abandoned #4 #6.
- Tom supplied a replacement that stopped connect_fails() from sending any query and reported that it reliably fixed the failure #7; Michael accepted it, noting that connection logging would still expose SSL connection attempts #8.
- Michael identified the same potential race in older Kerberos tests and proposed a backpatched fix #10, while Thomas Munro pointed to an earlier LDAP fix as precedent #11.
- Michael committed Tom's shared-helper fix as 6d41dd045a, taking #7 with only its explanatory inline comment removed.
- Michael then posted a separate Kerberos patch for older branches that preserved the query but passed it through psql -c instead of stdin #13; Tom documented differing reproduction results across machines and Perl/IPC::Run versions without establishing the precise environmental cause #14.
- The Kerberos patch #13 landed unchanged as b55619948e, and Michael closed the thread by confirming that branches 11 through 13 were fixed and an additional inspection had found no other affected cases #15.