Re: Trouble DROP'ing a ROLE, despite REVOKE'ing its privileges

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Trouble DROP'ing a ROLE, despite REVOKE'ing its privileges
Дата
Msg-id 792111.1641407185@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Trouble DROP'ing a ROLE, despite REVOKE'ing its privileges  (Dominique Devienne <ddevienne@gmail.com>)
Список pgsql-general
Dominique Devienne <ddevienne@gmail.com> writes:
> Final step is to DROP the "owner" ROLE itself, but before doing that,
> I run REVOKE ALL ON DATABASE "ddevienne" FROM "owner".

That will only revoke privileges that were granted by the role
doing the REVOKE, so I surmise that you did this as some other role.
But actually capturing the DB's privileges at the point where the
DROP ROLE is failing would help you debug.

            regards, tom lane



В списке pgsql-general по дате отправления:

Предыдущее
От: Rob Sargent
Дата:
Сообщение: Re: Trouble DROP'ing a ROLE, despite REVOKE'ing its privileges
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Trouble DROP'ing a ROLE, despite REVOKE'ing its privileges