Re: [ADMIN] Cannot drop role

Поиск
Список
Период
Сортировка
Искать
От
Alvaro Herrera
Тема
Re: [ADMIN] Cannot drop role
Дата
Msg-id
20170213184850.e2diqg3jk2uyfmvu@alvherre.pgsql
Ответ на
[ADMIN] Cannot drop role (Steven Hirsch)
Список
Дерево обсуждения
[ADMIN] Cannot drop role Steven Hirsch <snhirsch@gmail.com>
Re: [ADMIN] Cannot drop role Alvaro Herrera <alvherre@2ndquadrant.com>
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

В списке pgsql-admin по дате отправления
От: Steven Hirsch
Дата:
Сообщение: [ADMIN] Cannot drop role
От: Ian Barwick
Дата:
FAQ