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

From Bruce Momjian
Subject Re: TCP/IP with 7.4 beta2 broken?
Date
Msg-id 200309020356.h823uMp20395@candle.pha.pa.us
Whole thread Raw
In response to Re: TCP/IP with 7.4 beta2 broken?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: TCP/IP with 7.4 beta2 broken?
List pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Ouch --- everything is IPv6.  Wow, that is unusual.  I assumed that
> > folks who have OS's that do that will put IPv6 addresses in pg_hba.conf.
> 
> I think that may be reasonable.  What bothers me is that the default
> pg_hba.conf will fail to accept localhost connections on such a system.
> OTOH older systems will complain if pg_hba.conf contains IPv6 entries.
> 
> We may not have much choice but to find a way to configure pg_hba.conf's
> localhost entries at initdb time ...

Can we allow the IPv6 entries to be in pg_hba.conf but ignore them on
non-IPv6 machines, or allow the connection to fail?

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Philip Yarra
Date:
Subject: Re: thread safety
Next
From: Bruce Momjian
Date:
Subject: Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)