]> 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:15 +0000 (11:39 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 21 Oct 2019 02:39:15 +0000 (11:39 +0900)
commitba19a6b73c5bd771d8864171ede03503a9ff564e
tree8b3cf7736d7de333394eec69bc21b2344dd59688
parent4f4061b2dde178d2ab79d1ee3b1ae3c62c117926
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