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-02 11:43:58 |
Message-ID: | 3F54827E.3000307@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Tom Lane wrote:
>Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
>
>
>>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?
>>
>>
>
>I don't see a good way yet. The fly in the ointment is that HAVE_IPV6
>is set by configure based on the capabilities of userland libraries;
>we cannot assume that HAVE_IPV6 means the kernel knows IPv6. But if
>we simply suppress failure messages on IPv6 addresses, we are going to
>create severe headaches for people who are actually using IPv6.
>
>Ah, the joys of portability :-(
>
>Anyone see a clean solution?
>
>
>
How about a 'localhost' keyword which would match the local host
according to whatever ip stack(s) is (are) running? e.g.
localhost all all trust
Then we wouldn't have to play initdb tricks, but we would have to make
postmaster a bit smarter.
Downside is pg_hba.conf seems to be rapidly becoming more complex.
cheers
andrew
From | Date | Subject | |
---|---|---|---|
Next Message | Tommi Maekitalo | 2003-09-02 13:05:55 | Re: TCP/IP with 7.4 beta2 broken? |
Previous Message | Andreas Pflug | 2003-09-02 11:40:45 | Re: TCP/IP with 7.4 beta2 broken? |