*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
>