Re: Dropping default privileges.

From: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Tim Uckun *EXTERN*" <timuckun(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Dropping default privileges.
Date: 2013-01-30 08:12:27
Message-ID: A737B7A37273E048B164557ADEF4A58B057AC997@ntex2010a.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tim Uckun 2013-01-30 08:35:32 Re: Dropping default privileges.
Previous Message Alexander Farber 2013-01-30 08:00:24 Re: Optimizing select count query which often takes over 10 seconds