Re: fix psql \conninfo & \connect when using hostaddr

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
Cc: PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Arthur Zakirov <a(dot)zakirov(at)postgrespro(dot)ru>, Robert Haas <robertmhaas(at)gmail(dot)com>
Subject: Re: fix psql \conninfo & \connect when using hostaddr
Date: 2018-11-17 14:56:37
Message-ID: 20181117145637.f62ojhaq6ohfw57f@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2018-Nov-17, Fabien COELHO wrote:

>
> > > Fabien, are you planning to fix things per Arthur's review?
> >
> > Yep, I am.
> >
> > I will not do the above though, because the PQgetHostaddr API would
> > differ from all other connection status functions (PQgetHost,
> > PQgetUser...) which are all "char * PQget<Something>(PGconn * conn)"
>
> Sorry, I'm mixing everything, the function is an internal one.

Yeah :-)

> I'm working on improving the patch.

Cool.

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2018-11-17 14:58:14 Re: fix psql \conninfo & \connect when using hostaddr
Previous Message Alvaro Herrera 2018-11-17 14:55:39 Re: pg_dumpall --exclude-database option