Re: show privileges

Поиск
Список
Период
Сортировка
От Joe
Тема Re: show privileges
Дата
Msg-id 1162856955.703.5.camel@pampa
обсуждение исходный текст
Ответ на Re: show privileges  ("Aaron Bono" <postgresql@aranya.com>)
Список pgsql-sql
On Mon, 2006-11-06 at 17:01 -0600, Aaron Bono wrote:
> 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. 

You mean something like \du at the psql prompt?

Joe






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

Предыдущее
От: "George Pavlov"
Дата:
Сообщение: Re: a celko-puzzle from long time ago
Следующее
От: gurkan@resolution.com
Дата:
Сообщение: converting Informix outer to Postgres