From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Steven Hirsch <snhirsch@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Cannot drop role
Date: Mon, 13 Feb 2017 15:48:50 -0300
Message-ID: <20170213184850.e2diqg3jk2uyfmvu@alvherre.pgsql> (raw)
In-Reply-To: <alpine.DEB.2.20.1702131336020.4109@z87>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
Steven Hirsch wrote:
> At this point I suspect there's something corrupted in the system catalog.
Yes, clearly.
> 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.
Look in pg_shdepend. Probably somebody deleted rows from pg_default_acl
(and who knows what else) rather than using DDL commands, which is what
they should have done.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
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: alvherre@2ndquadrant.com, snhirsch@gmail.com
Subject: Re: Cannot drop role
In-Reply-To: <20170213184850.e2diqg3jk2uyfmvu@alvherre.pgsql>
* 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