pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix error reporting of connect_timeout in libpq for value parsin
Date: Mon, 21 Oct 2019 02:40:09 +0000
Message-ID: <E1iMNc9-0000CJ-PX@gemulon.postgresql.org> (raw)

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(+)



view thread (2+ messages)

Message-ID: <E1iMNc9-0000CJ-PX@gemulon.postgresql.org>
Permalink:  ../E1iMNc9-0000CJ-PX@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1iMNc9-0000CJ-PX@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: Fix error reporting of connect_timeout in libpq for value parsin
  In-Reply-To: <E1iMNc9-0000CJ-PX@gemulon.postgresql.org>
  References: <E1iMNc9-0000CJ-PX@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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