From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Kurt Roeckx <Q(at)ping(dot)be> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: freeaddrinfo2 changes. |
Date: | 2003-06-09 17:25:09 |
Message-ID: | 18560.1055179509@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Kurt Roeckx <Q(at)ping(dot)be> writes:
>> If this is broken then it's probably not the only problem --- we rely on
>> sa.sa_family in other places.
> sa.sa_family is not the problem itself, the problem is that if
> you use getaddrinfo with AF_UNSPEC, you can get more than replies
> with more than 1 address family. You will get atleast AF_INET,
> AF_INET6 if they exist for what you request, and maybe AF_UNIX or
> even others.
Oh, I see --- the problem is to tell the difference between an AF_UNIX
addrinfo built by getaddrinfo_unix and one returned by the system's
getaddrinfo. Okay.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Brian Maguire | 2003-06-09 17:47:56 | Feature Suggestion/Index tuning wizard that automatically decide on indexes |
Previous Message | Kurt Roeckx | 2003-06-09 17:18:34 | Re: freeaddrinfo2 changes. |