projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05346c1
)
getnameinfo_unix has to be taught not to insist on NI_NUMERIC flags, too.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Fri, 5 Oct 2012 02:53:53 +0000
(22:53 -0400)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Fri, 5 Oct 2012 02:54:18 +0000
(22:54 -0400)
Per testing of previous patch.
src/backend/libpq/ip.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/libpq/ip.c
b/src/backend/libpq/ip.c
index 550e11b68cf99683f33c9bb9dba1ab10b634c3c8..db3a5252efd4e21eb59a0168c1dfa75577c9d179 100644
(file)
--- a/
src/backend/libpq/ip.c
+++ b/
src/backend/libpq/ip.c
@@
-247,11
+247,6
@@
getnameinfo_unix(const struct sockaddr_un * sa, int salen,
(node == NULL && service == NULL))
return EAI_FAIL;
- /* We don't support those. */
- if ((node && !(flags & NI_NUMERICHOST))
- || (service && !(flags & NI_NUMERICSERV)))
- return EAI_FAIL;
-
if (node)
{
ret = snprintf(node, nodelen, "%s", "[local]");