pgsql: Fix error reporting of connect_timeout in libpq for value parsin

2019-10-20 Thread Michael Paquier
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/a9

pgsql: Fix error reporting of connect_timeout in libpq for value parsin

2019-10-20 Thread Michael Paquier
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/a9