Re: replace all with * in pg_hba.conf

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Postgresql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: replace all with * in pg_hba.conf
Date: 2003-12-18 17:48:14
Message-ID: 3FE1E85E.8070808@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zeugswetter Andreas SB SD 2003-12-18 18:09:53 Re: [HACKERS] [PATCHES] fork/exec patch
Previous Message Tom Lane 2003-12-18 17:44:17 Re: [BUGS] pg_service.conf ignores dbname parameter

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2003-12-18 17:49:49 Re: restore error - language "plperlu" is not trusted
Previous Message Peter Eisentraut 2003-12-18 17:47:41 Re: ISO year.