model-writtenrun 8285 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Kyotaro Horiguchi reported that GSS-encrypted psql sessions stalled when reconnecting after a server restart and proposed resetting encryption state, detecting write failures during connection setup, and displaying reconnection errors in #1.
- Tom Lane reproduced the failure and supplied a broader GSS state-management fix in #2, aligning credential cleanup and per-server initialization with SSL handling while rejecting unrelated write-error and psql reporting changes.
- Tom Lane supplied an interactive reconnection test in #3, but considered its duplicated IO::Pty support code unsuitable without further refactoring; the test was not included in the commit.
- Kyotaro Horiguchi accepted the GSS fix and dropping the psql reporting change but defended explicit write-error detection in #4; Tom Lane explained the existing read/write error policy and requested independent justification for behavioral changes in #5.
- Tom Lane committed #2 unchanged as 25fe5ac45a, with backports covering PostgreSQL 12.
- Kyotaro Horiguchi agreed to separate write-error behavior from the GSS issue in #6 and submitted a comment-only clarification in #7; the thread ends with the GSS fix landed and the test and comment proposal still uncommitted in the supplied evidence.