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 200309040842.53016.t.maekitalo@epgmbh.de
Whole thread Raw
In response to Re: TCP/IP with 7.4 beta2 broken?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: TCP/IP with 7.4 beta2 broken?
List pgsql-hackers
Hi,

Am Mittwoch, 3. September 2003 20:16 schrieb Bruce Momjian:
...
>
> As for the IPv6 issue --- how prevalent is this problem.  What OS
> versions are affected?  Has the user done something special to enable
> this?

I have a SuSE 8.2 out of the box. I have done nothing with IPv6. I don't even 
know much about IPv6.

Users expect, that it works just after installation. But after following the 
discussion I think, that it is not so much a problem. I have 127.0.0.1 in my 
pg_hba.conf and when I set PGHOST to 127.0.0.1 it workes. If I set PGHOST to 
localhost, it resolves to ::1, wich don't match my pg_hba.conf-entry. The 
error message is somewhat clear and gives the user a good hint, where to look 
for.

I don't like the idea of doing something special with loopback-interfaces. 
Loopback-interfaces are to test the network and tries to handle everything 
like normal networking.

Is it possible to ignore IPv6-entries in pg_hba.conf on non-IPv6-machines? 
Then we could uncomment IPv6 localhost connections by default. Or uncomment 
these entries just on IPv6-machines. But this needs modification of default 
pg_hba.conf depending on OS.


Tommi
-- 
Dr. Eckhardt + Partner GmbH
http://www.epgmbh.de


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Problem with pg_attribute.attstorage for pg_class.relacl
Next
From: Joerg Hessdoerfer
Date:
Subject: Re: Win32 native port