git.postgresql.org Git - postgresql.git/commit
Fri, 5 Oct 2012 01:45:14 +0000 (21:45 -0400)
Fri, 5 Oct 2012 01:45:14 +0000 (21:45 -0400)
commit c424d0d1052cb4053c8712ac44123f9b9a9aa3f2
Remove redundant code for getnameinfo() replacement
Our getnameinfo() replacement implementation in getaddrinfo.c failed
unless NI_NUMERICHOST and NI_NUMERICSERV were given as flags, because
it doesn't resolve host names, only numeric IPs. But per standard,
when those flags are not given, an implementation can still degrade to
not returning host names, so this restriction is unnecessary. When we
remove it, we can eliminate some code in postmaster.c that apparently
tried to work around that.
This is the main PostgreSQL git repository.
RSS
Atom