Re: Bug, Feature, or what else?

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Bug, Feature, or what else?
Дата
Msg-id 51151E5F.70906@gmail.com
обсуждение исходный текст
Ответ на Re: Bug, Feature, or what else?  (Andreas Kretschmer <andreas@a-kretschmer.de>)
Ответы Re: Bug, Feature, or what else?  (Andreas Kretschmer <andreas@a-kretschmer.de>)
Список pgsql-general
On 02/08/2013 07:45 AM, Andreas Kretschmer wrote:
>
>>
>> If I am following the Notes section correctly in:
>>
>> http://www.postgresql.org/docs/9.1/interactive/sql-revoke.html
>>
>> "If a superuser chooses to issue a GRANT or REVOKE command, the command
>> is performed as though it were issued by the owner of the affected
>> object. Since all privileges ultimately come from the object owner
>> (possibly indirectly via chains of grant options), it is possible for a
>> superuser to revoke all privileges, but this might require use of
>> CASCADE as stated above."
>>
>>
>> Try:
>>
>> revoke all on schema public from ak02 cascade;
>
> Yeah, i read that before, but doesn't help:
>
>
>
> db115150=# revoke all on schema public from ak02 cascade;
> REVOKE
> db115150=# drop user ak02;
> FEHLER:  kann Rolle »ak02« nicht löschen, weil andere Objekte davon abhängen
> DETAIL:  Privilegien für Schema public
>
>
> Strange, isn't it?

Well I got left is:

REVOKE PUBLIC FROM ak02;

>
>
> Andreas
>
>


--
Adrian Klaver
adrian.klaver@gmail.com

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

Предыдущее
От: Andreas Kretschmer
Дата:
Сообщение: Re: Bug, Feature, or what else?
Следующее
От: Marc Brazeau
Дата:
Сообщение: Re: pl/java for postgresql 9.2