Search Postgresql Archives

Re: Dropping default privileges.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux