Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group