pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rex Mabry <rexmabry@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: dropping a user in 8.2.6
Date: Tue, 8 Jul 2008 09:44:32 -0700 (PDT)
Message-ID: <956278.50750.qm@web35906.mail.mud.yahoo.com> (raw)

I am using version 8.2.6
 
I created a role and granted all on table "instrument" in the database.  But, when I tried to drop the role, I get the following error:
 
mydb=# drop role system_dba;
ERROR:  role "user1" cannot be dropped because some objects depend on it
DETAIL:  access to table mydb_admin.instrument

Is there a way to drop a role with some sort of "cascade" option?


      

view thread (2+ messages)  latest in thread

Message-ID: <956278.50750.qm@web35906.mail.mud.yahoo.com>
Permalink:  ../956278.50750.qm@web35906.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/956278.50750.qm@web35906.mail.mud.yahoo.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: rexmabry@yahoo.com
  Subject: Re: dropping a user in 8.2.6
  In-Reply-To: <956278.50750.qm@web35906.mail.mud.yahoo.com>

* 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