From: Steven Hirsch <snhirsch@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Cannot drop role
Date: Mon, 13 Feb 2017 13:43:10 -0500 (EST)
Message-ID: <alpine.DEB.2.20.1702131336020.4109@z87> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
I've seen one or two mentions of this problem with no applicable solution.
I have a case where I cannot drop a role because "...5 objects depend on
it" (according to pgAdmin 3). When I connect to the database that holds
those objects (they are not named) and try to drop the role I get an error
message:
[Error Code: 0, SQL State: XX000] ERROR: could not find tuple for
default ACL 2243075
Even after trying a number of queries that are purported to list grants
and ownerships for given ids I can turn up nothing that references the
role by name.
At this point I suspect there's something corrupted in the system catalog.
How can I find the table entry (or entries) that reference that
identifier? The fact that the message is issued suggests a link somewhere
but I cannot locate it.
Many thanks!
Steve
--
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
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: snhirsch@gmail.com
Subject: Re: Cannot drop role
In-Reply-To: <alpine.DEB.2.20.1702131336020.4109@z87>
* 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