Fix psql \conninfo & \connect when both host & hostaddr are used

Edit
ID 1846
Title Fix psql \conninfo & \connect when both host & hostaddr are used
Topic Bug Fixes
Created 2018-10-26 13:56:49
Last modified 2018-11-19 17:35:45 (6 years ago)
Latest email 2018-11-19 19:43:12 (6 years ago)
Status
2018-11: Committed
Target version
Authors Fabien Coelho (calvin)
Reviewers Pavel Stehule (okbobcz), Artur Zakirov (a.zakirov)Become reviewer
Committer Álvaro Herrera (alvherre)
Links CFbot results (CirrusCI) CFbot GitHub
Checkout latest CFbot patchset Go to your local checkout of the PostgreSQL repository and run:
git remote add commitfest https://github.com/postgresql-cfbot/postgresql.git
git fetch commitfest cf/1846
git checkout commitfest/cf/1846
Emails
fix psql \conninfo & \connect when using hostaddr
First at 2018-10-26 13:54:51 by Fabien COELHO <coelho at cri.ensmp.fr>
Latest at 2018-11-19 19:43:12 by Fabien COELHO <coelho at cri.ensmp.fr>
Latest attachment (0001-psql-Show-IP-address-in-conninfo-if-different-from-h.patch) at 2018-11-19 15:53:15 from Alvaro Herrera <alvherre at 2ndquadrant.com>
    Attachment (0001-psql-Show-IP-address-in-conninfo-if-different-from-h.patch) at 2018-11-19 15:53:15 from Alvaro Herrera <alvherre at 2ndquadrant.com> (Patch: Yes)
    Attachment (libpq-conn-2.patch) at 2018-11-17 16:12:41 from Fabien COELHO <coelho at cri.ensmp.fr> (Patch: Yes)
    Attachment (libpq-conn-2.patch) at 2018-11-07 13:23:10 from Pavel Stehule <pavel.stehule at gmail.com> (Patch: Yes)
    Attachment (libpq-conn-1.patch) at 2018-10-26 13:54:51 from Fabien COELHO <coelho at cri.ensmp.fr> (Patch: Yes)
History
When Who What
2018-11-19 17:35:45 Álvaro Herrera (alvherre) Closed in commitfest 2018-11 with status: Committed
2018-11-17 12:52:12 Álvaro Herrera (alvherre) Added alvherre as committer
2018-11-17 12:52:04 Álvaro Herrera (alvherre) New status: Ready for Committer
2018-11-07 14:01:57 Artur Zakirov (a.zakirov) Added a.zakirov as reviewer
2018-11-06 14:45:10 Pavel Stehule (okbobcz) Added okbobcz as reviewer
2018-10-27 16:41:33 Fabien Coelho (calvin) Changed topic to Bug Fixes
2018-10-26 13:56:58 Fabien Coelho (calvin) Changed authors to Fabien Coelho (calvin)
2018-10-26 13:56:49 Fabien Coelho (calvin) Attached mail thread alpine.DEB.2.21.1810261532380.27686@lancre
2018-10-26 13:56:49 Fabien Coelho (calvin) Created patch record
Edit