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 20181117145637.f62ojhaq6ohfw57f@alvherre.pgsql
Whole thread Raw
In response to Re: fix psql \conninfo & \connect when using hostaddr  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: fix psql \conninfo & \connect when using hostaddr  (Fabien COELHO <coelho@cri.ensmp.fr>)
List 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


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: pg_dumpall --exclude-database option
Next
From: Fabien COELHO
Date:
Subject: Re: fix psql \conninfo & \connect when using hostaddr