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 3FE1E85E.8070808@dunslane.net
Whole thread Raw
In response to Re: replace all with * in pg_hba.conf  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: replace all with * in pg_hba.conf  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Peter Eisentraut wrote:

>Andrew Dunstan wrote:
>  
>
>>If people are happy with Tom's suggestion of using '*' instead of
>>'all' in pg_hba.conf I will prepare a patch for it.
>>    
>>
>
>Well, while we're breaking stuff in the name of improvement, what about 
>databases named "*" or databases with spaces in their names?
>  
>

Good point. Perhaps we need to provide for an escaping mechanism in the 
routines that parse the file, although personally I have little sympathy 
for anyone who names a database '*'. I think it comes into the category 
of "Doctor, it hurts when I do this" ... "Then stop doing that." Spaces 
are a more likely problem, especially when we get W32 native users.

cheers

andrew



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [BUGS] pg_service.conf ignores dbname parameter
Next
From: "Zeugswetter Andreas SB SD"
Date:
Subject: Re: [pgsql-hackers-win32] [PATCHES] fork/exec patch