model-writtenrun 4699 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Jacob Champion proposed bounding pre-v3 error messages and terminating malformed v3 error exchanges in PQconnectPoll(), preventing a misbehaving server from consuming client resources indefinitely #1.
- Heikki Linnakangas found the patch mostly sound but requested consistent “received invalid” diagnostics, questioned translation overhead for an unreachable error path, and identified a misleading existing message-length diagnostic #2.
- Jacob Champion incorporated the diagnostic revisions while retaining the original implementation, and asked whether the unreachable error path should instead use an assertion #3.
- Heikki Linnakangas committed the revised patch as 5e044471a1, separating authentication and protocol-negotiation diagnostics, retaining the defensive error path with an explanatory comment, and reformatting comments; his push announcement explained that the shared diagnostic made translation overhead moot #4.
- Jacob Champion confirmed that the committed result looked good, closing the thread with the fix landed #5.