Re: Dropping default privileges. - Mailing list pgsql-general

From Albe Laurenz
Subject Re: Dropping default privileges.
Date
Msg-id A737B7A37273E048B164557ADEF4A58B057AC997@ntex2010a.host.magwien.gv.at
Whole thread Raw
In response to Re: Dropping default privileges.  (Tim Uckun <timuckun@gmail.com>)
Responses Re: Dropping default privileges.  (Tim Uckun <timuckun@gmail.com>)
List 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 by date:

Previous
From: Alexander Farber
Date:
Subject: Re: Optimizing select count query which often takes over 10 seconds
Next
From: Tim Uckun
Date:
Subject: Re: Dropping default privileges.