Can't delete role because of unknown object

From: Craig Libscomb <craiglibscomb1972(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Can't delete role because of unknown object
Date: 2014-04-22 19:47:32
Message-ID: CAABzkTjyXqC-W=JL4Dy=r4XYgOzQ_B=19cFzHU5V9W7XSaEAkQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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 droletguillaume 2014-04-22 20:02:29 Re: Can't delete role because of unknown object
Previous Message Alban Hertroys 2014-04-22 15:46:16 Re: could not rename temporary statistics file "/run/shm/pgstat.tmp" to "/run/shm/pgstat.stat": No such file or directory