Re: [SQL] Viewing access privileges

Поиск
Список
Период
Сортировка
От Tim J Trowbridge
Тема Re: [SQL] Viewing access privileges
Дата
Msg-id 199901161924.NAA23658@earth.execpc.com
обсуждение исходный текст
Ответ на Viewing access privileges  (Stephen Davies <scldad@sdc.com.au>)
Список pgsql-sql
Stephen Davies wrote:
>
> How can one view all of the access privileges of one or more users?
>
> That is, how can I check what I have GRANTed to whom?

Try this:
SELECT relname,relacl FROM pg_class WHERE relname !~ '^pg_';

--
Tim J Trowbridge                         trowbrid@writeme.com
Interested in my genealogy?          http://www.execpc.com/~trowbrid

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

Предыдущее
От: Stephen Davies
Дата:
Сообщение: Viewing access privileges
Следующее
От: Holger Mitterwald
Дата:
Сообщение: Inserting/updating points