Re: Re: double check the role has what's kind of the privilege? And the same for the objects. Thanks.

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Re: double check the role has what's kind of the privilege? And the same for the objects. Thanks.
Дата
Msg-id
4985.1333117008@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
double check the role has what's kind of the privilege? And the same for the objects. Thanks. leaf_yxj <leaf_yxj@163.com>
Re: double check the role has what's kind of the privilege? And the same for the objects. Thanks. Chris Travers <chris.travers@gmail.com>
Re: Re: double check the role has what's kind of the privilege? And the same for the objects. Thanks. "Albe Laurenz" <laurenz.albe@wien.gv.at>
Re: Re: double check the role has what's kind of the privilege? And the same for the objects. Thanks. "Albe Laurenz" <laurenz.albe@wien.gv.at>
Re: Re: double check the role has what's kind of the privilege? And the same for the objects. Thanks. Tom Lane <tgl@sss.pgh.pa.us>
Re: Re: double check the role has what's kind of the privilege? And the same for the objects. Thanks. "Albe Laurenz" <laurenz.albe@wien.gv.at>
"Albe Laurenz"  writes:
> leaf_yxj wrote:
>> My bosses ask me  to list all the users and all the privilege which
> the superuser granted  to the
>> users.
>> Then they can double check that I did right thing or not?

> Unlike Oracle, PostgreSQL does not have a concept of "grantor",
> so it is not possible to find out which privileges were granted
> by a superuser.

Um, we *do* have a concept of grantors, and that information is
recorded.  However, in Postgres any grant or revoke executed by
a superuser is treated as having been done by the object's owner,
so what gets recorded as the grantor in such a case is the owner.
So, right answer, wrong reasoning.

			regards, tom lane
В списке pgsql-general по дате отправления
От: Janning Vygen
Дата:
От: Craig Ringer
Дата:
Сообщение: Re: PostgreSQL crashed server
FAQ