Re: distinguish between all and "all" in pg_hba.conf

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: distinguish between all and "all" in pg_hba.conf
Date: 2003-12-19 17:50:06
Message-ID: 3FE33A4E.8000307@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

I wrote:

> Tom Lane wrote:
>
>> Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
>>
>>
>>> The minimal disturbance change might be to teach the parser to
>>> distinguish between a quoted 'all' and an unquoted 'all', and forget
>>> the '*' idea.
>>>
>>
>>
>> Probably we ought to go with that, on backwards-compatibility grounds.
>>
>>
>>
>
> OK, here's the patch. Should we also do this for "sameuser" and
> "samegroup" for the sake of completness?

Revised patch for this as suggested by Tom.

cheers

andrew

Attachment Content-Type Size
quote-all.patch text/plain 5.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2003-12-19 17:52:45 Re: PostgreSQL speakers needed for OSCON 2004
Previous Message Andrew Dunstan 2003-12-19 17:46:41 Re: replace all with * in pg_hba.conf

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2003-12-20 00:14:53 Re: ISO year.
Previous Message Andrew Dunstan 2003-12-19 17:46:41 Re: replace all with * in pg_hba.conf