Chris Browne <cbbrowne(at)acm(dot)org> writes:
> tgl(at)sss(dot)pgh(dot)pa(dot)us (Tom Lane) writes:
>> What I'm tempted to do is add this to pg_getaddrinfo_all (in
>> src/backend/libpq/ip.c):
>> ...
> That seems to work fine, too. And that seems somewhat more
> portable/elegant/something.
OK, patch applied as far back as 7.4 --- the 7.3 stats collector
isn't affected because it's coded differently.
regards, tom lane