Re: show privileges

Поиск
Список
Период
Сортировка
От Aaron Bono
Тема Re: show privileges
Дата
Msg-id bf05e51c0611061501m637979e1g8ba614f6bfe6fe41@mail.gmail.com
обсуждение исходный текст
Ответ на show privileges  (Rares Vernica <rvernica@gmail.com>)
Ответы Re: show privileges
Список pgsql-sql
On 11/2/06, Rares Vernica <rvernica@gmail.com> wrote:
Hi,

How can I view the privileges that an user or a role has?

Or what is the equivalent of "show privileges" from MySQL?

 
select * from pg_user;

Hey guys, this comes up every so often.  Could some kind of syntax be added, at least to the psql tool, to get this kind of information.  It would be really handy for administrators.  Also, if it were on the documentation under the GRANT privileges section that would help immensely.  I always have to hunt this down when I need it.

Thanks!

==================================================================
   Aaron Bono
   Aranya Software Technologies, Inc.
   http://www.aranya.com
   http://codeelixir.com
==================================================================

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

Предыдущее
От: "Aaron Bono"
Дата:
Сообщение: Fwd: refining view using temp tables
Следующее
От: "George Pavlov"
Дата:
Сообщение: Re: a celko-puzzle from long time ago