diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2012-10-04 21:45:14 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2012-10-04 21:45:14 -0400 |
commit | c424d0d1052cb4053c8712ac44123f9b9a9aa3f2 (patch) | |
tree | ff1dfd01f241fdb62a9d8892acd47ab38a931bfc /src/backend/tcop/postgres.c | |
parent | e1e60694b4a69786dc5ff27e340afeaad7833eb9 (diff) | |
download | postgresql-c424d0d1052cb4053c8712ac44123f9b9a9aa3f2.tar.gz postgresql-c424d0d1052cb4053c8712ac44123f9b9a9aa3f2.zip |
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.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions