how drop a role that owns stuff ? - Mailing list pgsql-general

From Andreas
Subject how drop a role that owns stuff ?
Date
Msg-id 4A5A8784.2010002@gmx.net
Whole thread Raw
Responses Re: how drop a role that owns stuff ?
List pgsql-general
Hi,
for some cleaning up I'd like to drop a certain role.
Now DROP ROLE yields an error and complains about 271 objects being
owned by this role.

Is there an easy way to switch ownership of those objects to another role?

At least, is there a way to store those dependencies as a file?
The contents of the 4th tab of the role-object in pgAdmin would be nice
but I cant save it or copy it out.
It lists which objects depend on the role.


regards ...

pgsql-general by date:

Previous
From: Greg Stark
Date:
Subject: Re: How can I find out the space used on disk for a table/index
Next
From: Alvaro Herrera
Date:
Subject: Re: how drop a role that owns stuff ?