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

From Andrew Dunstan
Subject Re: TCP/IP with 7.4 beta2 broken?
Date
Msg-id 3F54B61F.6050808@dunslane.net
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?
List pgsql-hackers
*nod* but it would be nicer if all loopback interfaces worked by default 
- hence my localhost suggestion, which would match any of
 127.0.0.1/32 ::ffff:127.0.0.1/128 and ::1/128

cheers

andrew

Andreas Pflug wrote:

> Tommi Maekitalo wrote:
>
>> Hi,
>>
>> I doublechecked, that the patch applied. And there is a change. It 
>> workes for connections from remote or to the ethernet-address, but 
>> not to localhost:
>>
>> tommi@at31:~ > export PGHOST=localhost
>> tommi@at31:~ > psql -l
>> psql: FATAL:  no pg_hba.conf entry for host "::1", user "postgres", 
>> database
>
> That's ok.
> ::1 is a pure IPV6 address, so you need a real IPV6 entry for this 
> (it's already prepared in the pg_hba.conf sample).
>
> Regards,
> Andreas
>




pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)
Next
From: Larry Rosenman
Date:
Subject: Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)