How to remove a superuser

From: Richard Ray <rray(at)mstc(dot)state(dot)ms(dot)us>
To: pgsql-admin(at)postgresql(dot)org
Subject: How to remove a superuser
Date: 2006-10-10 19:22:53
Message-ID: Pine.LNX.4.64.0610101419170.12126@rray.drdc.mstc.ms.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I need to drop a superuser account. I get

dba=# drop role bram;
ERROR: role "bram" cannot be dropped because some objects depend on it
DETAIL: owner of view teacher
owner of type teacher
owner of view temp1
owner of type temp1
...

What is the preferred method.

Thanks
Richard Ray

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tomeh, Husam 2006-10-10 20:39:55 Re: How to remove a superuser
Previous Message Alexander Burbello 2006-10-10 17:37:15 Build an statement