Re: Dropping default privileges.

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: Dropping default privileges.
Дата
Msg-id A737B7A37273E048B164557ADEF4A58B057AC997@ntex2010a.host.magwien.gv.at
обсуждение исходный текст
Ответ на Re: Dropping default privileges.  (Tim Uckun <timuckun@gmail.com>)
Ответы Re: Dropping default privileges.
Список pgsql-general
Tim Uckun wrote:
>>> drop role tim;
>>> ERROR:  role "tim" cannot be dropped because some objects depend on it
>>> DETAIL:  owner of default privileges on new relations belonging to
>>> role tim in schema strongmail
>>
>> DROP OWNED BY ought to get rid of that.
> 
> 
> Just to be clear.
> 
> I don't want to drop the schema. Will DROP OWNED BY only drop the
> priviliege or the schema?

It will not drop the schema unless the schema is owned by
the role you are dropping.

Yours,
Laurenz Albe

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

Предыдущее
От: Alexander Farber
Дата:
Сообщение: Re: Optimizing select count query which often takes over 10 seconds
Следующее
От: Tim Uckun
Дата:
Сообщение: Re: Dropping default privileges.