Re: fix psql \conninfo & \connect when using hostaddr - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: fix psql \conninfo & \connect when using hostaddr
Date
Msg-id 20181117125527.aq4ezesjgszuz6vj@alvherre.pgsql
Whole thread Raw
In response to Re: fix psql \conninfo & \connect when using hostaddr  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: fix psql \conninfo & \connect when using hostaddr
List pgsql-hackers
On 2018-Nov-17, Alvaro Herrera wrote:

> Looks good to me, save that I would change the API of getHostaddr() to
> this:
> 
> /* ----------
>  * getHostaddr -
>  * Fills 'host_addr' with the string representation of the currently connected
>  * socket in 'conn'.
>  * ----------
>  */
> static void
> getHostaddr(PGconn *conn, char *host_addr, int host_addr_len)

Fabien, are you planning to fix things per Arthur's review?

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


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: fix psql \conninfo & \connect when using hostaddr
Next
From: Amit Kapila
Date:
Subject: Re: New function pg_stat_statements_reset_query() to reset statisticsof a specific query