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: (view raw or whole 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.

Richard Ray


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-2015 The PostgreSQL Global Development Group