Re: duplicate connection failure messages - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: duplicate connection failure messages
Date
Msg-id 201011190321.oAJ3LCX13564@momjian.us
Whole thread Raw
In response to Re: duplicate connection failure messages  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Alvaro Herrera wrote:
> Excerpts from Bruce Momjian's message of mié nov 17 13:04:46 -0300 2010:
> 
> > OK, I doubt we want to add complexity to improve this, so I see our
> > options as:
> > 
> >     o  ignore the problem
> >     o  display IPv4/IPv6 labels
> >     o  display only an IPv6 label
> >     o  something else
> 
> I think we should use inet_ntop where available to print the address.

FYI, I see we use inet_ntoa() in getaddrinfo.c.  That is not thread-safe
and I should replace it with inet_ntop().

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: duplicate connection failure messages
Next
From: Tom Lane
Date:
Subject: Re: Latches with weak memory ordering (Re: max_wal_senders must die)