From: 'Bruce Momjian' [mailto:bruce@momjian.us]
> > I forgot to point out one thing.
> >
> > Allow libpq to connect to multiple specified host names (Robert Haas)
> > libpq will connect with the first responsive host name.
> >
> > According to the following CF entry and my memory,
> >
> > https://commitfest.postgresql.org/12/879/
> >
> > Authors
> > mithun cy (mithun.cy)
> >
> > Reviewers
> > Gerdan Santos (gerdan), Takayuki Tsunakawa (maumau)Remove from
> > reviewers
> >
> > Committer
> > Robert Haas (rhaas)
> >
> > The author should probably be "(Mithun Cy, Robert Haas, Victor Wagner)"
>
> I based the release note text on this commit:
>
> commit 274bb2b3857cc987cfa21d14775cae9b0dababa5
> Author: Robert Haas <rhaas@postgresql.org>
> Date: Thu Nov 3 09:25:20 2016 -0400
>
> libpq: Allow connection strings and URIs to specify multiple
> hosts.
>
> It's also possible to specify a separate port for each host.
>
> Previously, we'd loop over every address returned by looking
> up the
> host name; now, we'll try every address for every host name.
>
> Patch by me. Victor Wagner wrote an earlier patch for this
> feature,
> which I read, but I didn't use any of his code. Review by Mithun
> Cy.
>
> Was it wrong?
Oh, that commit. I got it.
Regards
Takayuki Tsunakawa