Skip to content

Commit 1997f34

Browse files
committed
getnameinfo_unix has to be taught not to insist on NI_NUMERIC flags, too.
Per testing of previous patch.
1 parent 05346c1 commit 1997f34

File tree

1 file changed

+0
-5
lines changed
  • src/backend/libpq

1 file changed

+0
-5
lines changed

src/backend/libpq/ip.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -247,11 +247,6 @@ getnameinfo_unix(const struct sockaddr_un * sa, int salen,
247247
(node == NULL && service == NULL))
248248
return EAI_FAIL;
249249

250-
/* We don't support those. */
251-
if ((node && !(flags & NI_NUMERICHOST))
252-
|| (service && !(flags & NI_NUMERICSERV)))
253-
return EAI_FAIL;
254-
255250
if (node)
256251
{
257252
ret = snprintf(node, nodelen, "%s", "[local]");

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy