model-writtenrun 8942 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Andrew Gierth reported that libpq could request SSL after rejected GSS encryption, while the server accepted only one negotiation attempt, and proposed separate tracking flags; Peter Eisentraut confirmed the analysis before a patch was posted #1 #2.
- Andrew supplied a server patch allowing SSL and GSS negotiation in either order after rejection while blocking further negotiation after success, and Stephen Frost offered to test it #3 #4.
- Jakob Egger identified the additional need to connect to older servers and supplied a separate libpq patch that tracks prior negotiation and reconnects after a second negotiation fails #5.
- In response to Bruce Momjian's round-trip question, Stephen and Andrew explained that GSS negotiation is attempted only when the client believes credentials are available, so the extra round trip is conditional; Stephen also raised concerns about Apple's credential-cache detection #6 #7 #8.
- After follow-up reminders, Stephen reported testing and pushing Andrew's server patch, which landed unchanged apart from rebasing as b68a560f8e; the thread ends without a recorded disposition for Jakob's client-side patch #10 #11 #12 #5.