Re: [TODO] Process pg_hba.conf keywords as case-insensitive
От | Christoph Berg |
---|---|
Тема | Re: [TODO] Process pg_hba.conf keywords as case-insensitive |
Дата | |
Msg-id | 20140821082723.GB4910@msg.df7cb.de обсуждение исходный текст |
Ответ на | Re: [TODO] Process pg_hba.conf keywords as case-insensitive (Heikki Linnakangas <hlinnakangas@vmware.com>) |
Ответы |
Re: [TODO] Process pg_hba.conf keywords as
case-insensitive
|
Список | pgsql-hackers |
Re: Heikki Linnakangas 2014-08-21 <53F5A2D6.2050208@vmware.com> > >1) database and role names behave similar to SQL identifiers (case-sensitive / case-folding). > > > >2) users and user-groups only requires special handling and behavior as follows > > Normal user : > > A. unquoted ( USER ) will be treated as user ( downcase ). > > B. quoted ( "USeR" ) will be treated as USeR (case-sensitive). > With this patch, database (and role?) names are compared case-insensitively. > For example: > > local MixedDB all trust > local mixedDB all reject > > psql -d "mixedDB" > psql (9.5devel) > Type "help" for help. > > mixedDB=# > > That connection should've matched that 2nd line, and be rejected. Actually it should have matched neither, as both lines will get folded downcase: local mixeddb all trust local mixeddb all reject Christoph -- cb@df7cb.de | http://www.df7cb.de/
В списке pgsql-hackers по дате отправления: