Bug / shortcoming in has_*_privilege

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Bug / shortcoming in has_*_privilege
Дата
Msg-id 4399EF7A-9419-4F84-B51A-A55C5EFAC12A@nasby.net
обсуждение исходный текст
Ответы Re: Bug / shortcoming in has_*_privilege  (Robert Haas <robertmhaas@gmail.com>)
Re: Bug / shortcoming in has_*_privilege  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
test_us@workbook=# select has_table_privilege( 'public', 'test', 'SELECT' );
ERROR:  role "public" does not exist
test_us@workbook=#

So there's no way to see if a particular privilege has been granted to public. ISTM 'public' should be accepted, since
youcan't use it as a role name anyway... 

test_us@workbook=# create role public;
ERROR:  role name "public" is reserved
test_us@workbook=# create role "public";
ERROR:  role name "public" is reserved
--
Jim C. Nasby, Database Architect                   jim@nasby.net
512.569.9461 (cell)                         http://jim.nasby.net




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Marko Kreen
Дата:
Сообщение: Re: Exposing the Xact commit order to the user
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: ps display "waiting for max_standby_delay"