Fix error reporting of connect_timeout in libpq for value parsing
Michael Paquier <michael@paquier.xyz>
Fix error reporting of connect_timeout in libpq for value parsing The logic was correctly detecting a parsing failure, but the parsing error did not get reported back to the client properly. Reported-by: Ed Morley Author: Lars Kanis Reviewed-by: Michael Paquier Discussion: https://postgr.es/m/a9b4cbd7-4ecb-06b2-ebd7-1739bbff3217@greiz-reinsdorf.de Backpatch-through: 12
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/libpq/fe-connect.c | modified | +4 −0 |
Discussion
- libpq: Fix wrong connection status on invalid "connect_timeout" 7 messages · 2019-10-17 → 2019-10-21