mirror of
https://github.com/postgres/postgres.git
synced 2026-03-28 21:33:14 -04:00
getnameinfo_unix has to be taught not to insist on NI_NUMERIC flags, too.
Per testing of previous patch.
This commit is contained in:
parent
05346c131a
commit
1997f34db4
1 changed files with 0 additions and 5 deletions
|
|
@ -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]");
|
||||
|
|
|
|||
Loading…
Reference in a new issue