Re: 7.4.3 & 8.0.0beta1 + Solaris 9: default pg_hba.conf

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Oliver Jowett <oliver(at)opencloud(dot)com>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: 7.4.3 & 8.0.0beta1 + Solaris 9: default pg_hba.conf
Date: 2004-08-18 16:00:06
Message-ID: 41237D06.8050806@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Bruce Momjian wrote:

>Tom Lane wrote:
>
>
>>Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
>>
>>
>>>Agreed, but from a clarity perspective, are we better moving to the CIDR
>>>format for hostnames in pg_hba.conf anyway?
>>>
>>>
>>Possibly --- it'd be easier to sell on that argument anyway ;-)
>>
>>
>>
s/hostnames/netmasks/

+1 vote. They are whole lot easier to understand anyway. We already did
it for the IPv6 addr, and you thought it so nice you put it in the
release notes :-)

>>>Also, I think we would accept a patch that modified pg_hba.conf for
>>>Solaris only that made this change.
>>>
>>>
>>That seems like the worst of all possible worlds. Difficult to do *and*
>>confusing for users, since on Solaris the sample file would no longer
>>match the documentation.
>>
>>
>
>True, but at least it would work. Are they saying the masks don't work
>at all? Why haven't we heard this before?
>
>
>

I thought the report was that *only* 255.255.255.255 failed. The
question is why? And would changing the hints passed to getaddrinfo_all
improve matters (e.g. by filling in the ai_family with the value from
the addr structure we already have)?

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-08-18 16:10:20 Re: [HACKERS] SRPM for 8.0.0 beta?
Previous Message Peter Eisentraut 2004-08-18 15:55:21 Re: [HACKERS] SRPM for 8.0.0 beta?

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2004-08-18 16:16:35 Re: 7.4.3 & 8.0.0beta1 + Solaris 9: default pg_hba.conf breaks
Previous Message Andrew Dunstan 2004-08-18 15:48:32 Re: pg_restore recognizing $-quotes