Search Postgresql Archives

Re: Drop role cascade ?

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

 



David Gauthier <dfgpostgres@xxxxxxxxx> writes:
> Someone who had privileges in a lot of tables/schemas/DBs left the
> company.  I want to drop that role but "rop role xxx" won't let me
> because...  "xxx cannot be dropped because some objects depend on it".

> Is there a way to just get rid of this role without revoking xxx in all
> the individual DB objects he has privs too?  Something like "drop role xxx
> cascade" ?

Not directly, but see REASSIGN OWNED and DROP OWNED.

			regards, tom lane





[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 Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux