Re: duplicate connection failure messages

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <bruce@momjian.us>
Cc: Alvaro Herrera <alvherre@commandprompt.com>, Magnus Hagander <magnus@hagander.net>, Peter Eisentraut <peter_e@gmx.net>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2010-11-19T22:56:12Z
Lists: pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> I was wondering that.  I am unclear if we need it though --- can we not
> assume inet_ntop() exists on all systems?  We assumed inet_ntoa() did. 

The Single Unix Spec includes inet_ntoa but not inet_ntop.

> Of course, the buildfarm will tell us.

The buildfarm unfortunately contains only a subset of the platforms
we care about.  I don't think this problem is large enough to justify
taking a portability risk by depending on non-SUS library functions.

If you want to do this, please do it as suggested previously, ie depend
on the copy of the code we have internally.

			regards, tom lane