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

From Tom Lane
Subject Re: replace all with * in pg_hba.conf
Date
Msg-id 10269.1071853868@sss.pgh.pa.us
Whole thread Raw
In response to Re: replace all with * in pg_hba.conf  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: replace all with * in pg_hba.conf
List pgsql-hackers
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.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Linking with -lc not a good idea
Next
From: Andrew Dunstan
Date:
Subject: Re: replace all with * in pg_hba.conf