Re: replace all with * in pg_hba.conf - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: replace all with * in pg_hba.conf
Date
Msg-id 3FE33981.7050107@dunslane.net
Whole thread Raw
In response to Re: replace all with * in pg_hba.conf  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:

>Andrew Dunstan <andrew@dunslane.net> writes:
>  
>
>>Marc G. Fournier wrote:
>>    
>>
>>>why not do both, but deprecate the use of all in the docs?  say with an
>>>eventual goal of removing the use of all altogether in 2 releases?
>>>      
>>>
>
>  
>
>>The extra value is fairly low IMNSHO if we can distinguish between a 
>>magical and a non-magical 'all' - see the patch I just submitted.
>>    
>>
>
>Also, your point about the special sameuser and samegroup keywords is a
>good one.  We should make those all work consistently (ie, quoting makes
>it not a keyword).  Going in the "*" direction would only make sense
>if that were the only special case --- but it isn't.  I don't think we
>want to start choosing random symbols for sameuser, samegroup, and other
>stuff we might think of in future.
>
>  
>

Right. Revised patch sent to patches list.

cheers

andrew





pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: replace all with * in pg_hba.conf
Next
From: Josh Berkus
Date:
Subject: Re: Proposed Query Planner TODO items