Reimplement 9f80f4835a55a1cbffcda5d23a617917f3286c14 with PQconninfo().
Apart from ignoring "hostaddr" set to the empty string, this behaves
identically to its predecessor. Back-patch to 9.4, where the original
commit first appeared.
Reviewed by Fujii Masao.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/64f86fb11e20b55fb742af72d55806f8bdd9cd2d
Modified Files
--------------
src/bin/psql/command.c | 23 ++++++++++++++++++++++-
1 file changed, 22 insertions(+), 1 deletion(-)