pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix error reporting of connect_timeout in libpq for value parsin
2+ messages / 1 participants
[nested] [flat]

* pgsql: Fix error reporting of connect_timeout in libpq for value parsin
@ 2019-10-21 02:40 Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael Paquier @ 2019-10-21 02:40 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ba19a6b73c5bd771d8864171ede03503a9ff564e

Modified Files
--------------
src/interfaces/libpq/fe-connect.c | 4 ++++
1 file changed, 4 insertions(+)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Fix error reporting of connect_timeout in libpq for value parsin
@ 2019-10-21 02:40 Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael Paquier @ 2019-10-21 02:40 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/ed5109a616cf98d3b3b2491d043099a6e0a966a2

Modified Files
--------------
src/interfaces/libpq/fe-connect.c | 4 ++++
1 file changed, 4 insertions(+)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2019-10-21 02:40 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-10-21 02:40 pgsql: Fix error reporting of connect_timeout in libpq for value parsin Michael Paquier <michael@paquier.xyz>
2019-10-21 02:40 pgsql: Fix error reporting of connect_timeout in libpq for value parsin Michael Paquier <michael@paquier.xyz>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox