Re: TCP/IP with 7.4 beta2 broken? - Mailing list pgsql-hackers

From Tommi Maekitalo
Subject Re: TCP/IP with 7.4 beta2 broken?
Date
Msg-id 200309021505.55424.t.maekitalo@epgmbh.de
Whole thread Raw
In response to Re: TCP/IP with 7.4 beta2 broken?  (Andreas Pflug <pgadmin@pse-consulting.de>)
Responses Re: TCP/IP with 7.4 beta2 broken?  (Andreas Pflug <pgadmin@pse-consulting.de>)
List pgsql-hackers
Hi,

the patch did not help.

Maybe it would help dumping all pg_hba.conf-etries after generation of
IPv6-adresses.

But there is another problem, which is related. I get a logentry:

LOG:  could not bind IPv4 socket: Die Adresse wird bereits verwendet

Sorry - I have errormessages in german - I set LANG to nothing, but it looks
like not at the right place. It says, that the adress is already in use, but
that is not true. Maybe postgres listens at the IPv6-socket first and
therefore the IPv4-socket is also in use.


Tommi Mäkitalo

...
>
> I created a patch to hba.c which uses IPV4 entries as IPV6 entries if
> running on a IPV6 system (which is detected from a port coming in as
> AF_INET6)
>
> Regards,
> Andreas




pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: TCP/IP with 7.4 beta2 broken?
Next
From: Czuczy Gergely
Date:
Subject: C++ and using C functions