Re: libpq host/hostaddr/conninfo inconsistencies

Fabien COELHO <coelho@cri.ensmp.fr>

From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Ramanarayana <raam.soft@gmail.com>
Cc: Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>, andres@anarazel.de, robertmhaas@gmail.com, PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2019-02-17T13:02:48Z
Lists: pgsql-hackers

Attachments

> I am getting error while applying patch.I think the patch needs to be
> redone on the latest code in master as there are some commits in master
> after the patch is created

Possibly. Here is a v5 with a simplified text.

The key point is to tell that "host" expects names, ips or directories, 
and that "hostaddr" is for ip lookup shortcuts.

-- 
Fabien.

Commits

  1. libpq docs: be clearer about conninfo's 'hostaddr'

  2. psql: Show IP address in \conninfo