Re: [HACKERS] Proposed patch to getaddrinfo.c to support - Mailing list pgsql-patches

From Tom Lane
Subject Re: [HACKERS] Proposed patch to getaddrinfo.c to support
Date
Msg-id 25643.1125006684@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] Proposed patch to getaddrinfo.c to support  (Petr Jelinek <pjmodos@seznam.cz>)
Responses Re: [HACKERS] Proposed patch to getaddrinfo.c to support  (Petr Jelinek <pjmodos@seznam.cz>)
List pgsql-patches
Petr Jelinek <pjmodos@seznam.cz> writes:
> Andrew Dunstan wrote:
>> So, not quite there yet.

> [I did make check only in W2K because I don't have direct access to XP
> machine now]
> No thats not windows error thats postgres error (look at pqcomm.c),
> which means HAVE_IPV6 is not defined.

Possibly, but that's apparently not the only problem.  I'm looking at
the first buildfarm result with this patch,
http://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=loris&dt=2005-08-25%2018:56:02

The interesting part is the postmaster log at the bottom:

LOG:  could not bind IPv4 socket: No error
HINT:  Is another postmaster already running on port 55678? If not, wait a few seconds and retry.
WARNING:  could not create listen socket for "localhost"
FATAL:  could not create any TCP/IP sockets

Apparently, access to IPv4 sockets isn't working either (and the "No
error" isn't very helpful; would seem we're not reading the right
status value).

            regards, tom lane

pgsql-patches by date:

Previous
From: Petr Jelinek
Date:
Subject: Re: [HACKERS] Proposed patch to getaddrinfo.c to support
Next
From: Petr Jelinek
Date:
Subject: Re: [HACKERS] Proposed patch to getaddrinfo.c to support