libpq: Fix another bug in 721f7bd3cbccaf8c07cad2707826b83f84694832.

Robert Haas <rhaas@postgresql.org>

Commit: a0ae54df9b153256a9d0afe45732853cb5ccae09
Author: Robert Haas <rhaas@postgresql.org>
Date: 2016-12-05T19:11:52Z
Releases: 10.0
libpq: Fix another bug in 721f7bd3cbccaf8c07cad2707826b83f84694832.

If we failed to connect to one or more hosts, and then afterwards we
find one that fails to be read-write, the latter error message was
clobbering any earlier ones.  Repair.

Mithun Cy, slightly revised by me.

Files

PathChange+/−
src/interfaces/libpq/fe-connect.c modified +66 −0