model-writtenrun 6958 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Jacob Champion proposed PQgetThreadLock() for libraries such as libpq-oauth to retrieve the existing Kerberos/Curl locking callback without modifying it, and documented that replacing the callback requires no open connections #1.
- Chao Li suggested exposing separate lock and unlock APIs instead of returning the callback #2.
- Nico Williams questioned whether current Kerberos implementations still needed this protection and highlighted Curl initialization as a threading concern #3.
- Jacob Champion retained the getter because the existing API already exposed the callback and he expected the need for locking to diminish; he deferred investigating the Kerberos assumptions and explained that older supported Red Hat installations still required Curl protection #4.
- The change proposed in #1 landed unchanged as b8d7685835, but its attribution belongs to thread #52853 because that thread supplied the later matching submission #616952.
- Jacob Champion closed this thread by confirming the commit, leaving no outstanding patch revision here #6.