>> 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.
I'm working on improving the patch.
--
Fabien.