model-writtenrun 9031 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- La Cancellera Yoann reported that PAM authentication logged failures even when login succeeded, and duplicate failures when login failed, in #1.
- Tom Lane explained in #2 that psql initially connects without a password before prompting and retrying, suggested -W as a workaround, and questioned PAM's excessive logging.
- In #3, Tom Lane identified missing propagation of password-request EOF as the cause and submitted a static-flag fix alongside a separate message-capitalization cleanup, proposing backports only for the PAM fix.
- The PAM fix from #3 landed unchanged as 3affe76ef8 and was backported to the supported branches.
- The capitalization cleanup from #3 landed unchanged on the development branch as 66c61c81b9, completing both submitted patches; the supplied thread ends with the submission and contains no subsequent review or testing reports.