Re: TCP/IP with 7.4 beta2 broken?

From: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: TCP/IP with 7.4 beta2 broken?
Date: 2003-09-03 10:51:17
Message-ID: 3674.24.211.141.25.1062586277.squirrel@www.dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tommi Maekitalo said:
> Am Dienstag, 2. September 2003 17:24 schrieb Andrew Dunstan:
>> *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
>>
> ...
> That sounds good. Is it possible to extend lookup that way?
>
> And yes indeed - setting PGHOST to 127.0.0.1 workes but localhost not.
>

It wouldn't be a lookup at all. Perhaps 'localhost' is a bad name,
and 'loopback' would be better. The above would be the only addresses that
would match it, and if IPv6 was not configured in only 127.0.0.1 would
match it.

If people think it's a good idea I can probably have a patch for it in
about 2 days.

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Malcolm Warren 2003-09-03 11:05:30 Re: Using oids
Previous Message Andreas Pflug 2003-09-03 10:49:44 Re: TCP/IP with 7.4 beta2 broken?