pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jessica Richard <rjessil@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: how to check objects dependency??
Date: Wed, 31 Oct 2007 07:50:51 -0700 (PDT)
Message-ID: <906847.93368.qm@web56412.mail.re3.yahoo.com> (raw)

I am trying to drop a user but it complained with the following message:

ERROR:  role "joe" cannot be dropped because some objects depend on it
DETAIL:  1 objects in database Jan_test
1 objects in database Jan

this user does not own any tables in those two databases. Is there any command I can use to check all the dependencies on this user?

Thanks,
Jessica

 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

view thread (8+ messages)  latest in thread

Message-ID: <906847.93368.qm@web56412.mail.re3.yahoo.com>
Permalink:  ../906847.93368.qm@web56412.mail.re3.yahoo.com/
Also on:    postgresql.org/message-id/906847.93368.qm@web56412.mail.re3.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: rjessil@yahoo.com
  Subject: Re: how to check objects dependency??
  In-Reply-To: <906847.93368.qm@web56412.mail.re3.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