Re: More robust pg_hba.conf parsing/error logging - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: More robust pg_hba.conf parsing/error logging
Date
Msg-id 201002232131.o1NLVAg04473@momjian.us
Whole thread Raw
In response to Re: More robust pg_hba.conf parsing/error logging  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas wrote:
> On Tue, Feb 23, 2010 at 12:22 AM, Bruce Momjian <bruce@momjian.us> wrote:
> > Tom Lane wrote:
> >> Alvaro Herrera <alvherre@commandprompt.com> writes:
> >> > Andrew Dunstan wrote:
> >> >> It will affect any dbname or username in mixed or upper case, not just
> >> >> ALL, won't it?
> >>
> >> > No, I am suggesting to change only the comparisons to the literals
> >> > "all", "sameuser", "samegroup" and "samerole".
> >
> > What happened to this idea?
> >
> >> Hmm. ?These words are effectively keywords, so +1 for treating them
> >> case-insensitively, as we do in SQL. ?But I wonder whether there isn't
> >> an argument for making the comparisons of role and database names
> >> behave more like SQL, too --- that is FOO matches foo but not "FOO".
> >
> > And this one?
> 
> Nobody's implemented them?  I'd suggest adding these to the TODO.

Added:
|Process pg_hba.conf keywords as case-insensitive

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.comPG East:  http://www.enterprisedb.com/community/nav-pg-east-2010.do + If your life is a hard
drive,Christ can be your backup. +
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [PATCH] backend: compare word-at-a-time in bcTruelen
Next
From: Bruce Momjian
Date:
Subject: Re: Adding \ev view editor?