model-writtenrun 9073 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Lars Kanis proposed explicitly setting CONNECTION_BAD when connect_timeout parsing fails, so applications receive the error correctly #1.
- Lars verified that other integer parameters already handled failure correctly and therefore kept the fix in connectDBComplete(), rather than changing status inside parse_int_param() #2.
- Michael Paquier supported that placement because other parameters have platform-specific defaults and multi-host retry behavior, but found that exposing the error also broke ECPG connections containing trailing whitespace; his combined patch preserved Lars's fix and refactored integer parsing to accept surrounding whitespace #3.
- Lars tested Michael's patch successfully and supplied a revision removing redundant character checks; that revision appears three times with identical contents #4 #5 #6.
- Michael committed the parsing portion of #3 as 4f4061b2dd, retaining the checks Lars proposed removing, and separately committed the connection-status portion present in #6 as ba19a6b73c.
- Michael confirmed successful whitespace, invalid-character, and overflow testing and reported both fixes committed and backpatched to PostgreSQL 12; broader libpq test infrastructure was deferred to a separate discussion #7.