Re: Can't delete role because of unknown object

From: droletguillaume <droletguillaume(at)gmail(dot)com>
To: Craig Libscomb <craiglibscomb1972(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Can't delete role because of unknown object
Date: 2014-04-22 20:02:29
Message-ID: ye9to436gpq93v5ggdxr7sau.1398196949376@email.android.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

hi Craig, 

I think this thread could help you:

http://stackoverflow.com/questions/5408156/how-to-drop-a-postgresql-database-if-there-are-active-connections-to-it

Sent from Samsung Mobile

<div>-------- Original message --------</div><div>From: Craig Libscomb <craiglibscomb1972(at)gmail(dot)com> </div><div>Date:04-22-2014 15:47 (GMT-05:00) </div><div>To: pgsql-general(at)postgresql(dot)org </div><div>Subject: [GENERAL] Can't delete role because of unknown object </div><div>
</div>The following command:
DROP USER IF EXISTS jpate;

generates the following output:
ERROR: role "jpate" cannot be dropped because some objects depend on it
DETAIL: 1 object in database products

It would be most helpful to know what object in the products database depends on the jpate role, but I am unable to find anything that even begins to offer a clue. What command will show me this mysterious object, please?

Thanks,
Craig

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Raymond O'Donnell 2014-04-22 20:06:24 Re: Can't delete role because of unknown object
Previous Message Craig Libscomb 2014-04-22 19:47:32 Can't delete role because of unknown object