]> granicus.if.org Git - postgresql/commit
Fix error reporting of connect_timeout in libpq for value parsing
authorMichael Paquier <michael@paquier.xyz>
Mon, 21 Oct 2019 02:39:28 +0000 (11:39 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 21 Oct 2019 02:39:28 +0000 (11:39 +0900)
commited5109a616cf98d3b3b2491d043099a6e0a966a2
tree51e68bbe8011ef698e42fb652fba66f3631df78d
parent2b0f959b5119cb2bb1d135ac04a8c5272bbcab03
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
src/interfaces/libpq/fe-connect.c