Re: duplicate connection failure messages
Bruce Momjian <bruce@momjian.us>
From: Bruce Momjian <bruce@momjian.us>
To: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Magnus Hagander <magnus@hagander.net>, Peter Eisentraut <peter_e@gmx.net>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2010-11-19T20:10:17Z
Lists: pgsql-hackers
Alvaro Herrera wrote: > Excerpts from Bruce Momjian's message of vie nov 19 16:43:33 -0300 2010: > > Tom Lane wrote: > > > > I get the impression that you guys have forgotten the existence of > > > src/backend/utils/adt/inet_net_ntop.c > > > > Yeah, that is nice, but we are calling this from libpq, not the backend. > > Let me work up a patch. > > Actually the code seems agnostic (no ereport, palloc etc) so maybe it > could just be moved to src/port. 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. Of course, the buildfarm will tell us. -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +