pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Ray <rray@mstc.state.ms.us>
To: pgsql-admin@postgresql.org
Subject: How to remove a superuser
Date: Tue, 10 Oct 2006 14:22:53 -0500 (CDT)
Message-ID: <Pine.LNX.4.64.0610101419170.12126@rray.drdc.mstc.ms.gov> (raw)

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



view thread (7+ messages)  latest in thread

Message-ID: <Pine.LNX.4.64.0610101419170.12126@rray.drdc.mstc.ms.gov>
Permalink:  ../Pine.LNX.4.64.0610101419170.12126@rray.drdc.mstc.ms.gov/
Also on:    postgresql.org/message-id/Pine.LNX.4.64.0610101419170.12126@rray.drdc.mstc.ms.gov

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: rray@mstc.state.ms.us
  Subject: Re: How to remove a superuser
  In-Reply-To: <Pine.LNX.4.64.0610101419170.12126@rray.drdc.mstc.ms.gov>
  References: <Pine.LNX.4.64.0610101419170.12126@rray.drdc.mstc.ms.gov>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox