Re: DROP ROLE as SUPERUSER

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: DROP ROLE as SUPERUSER
Дата
Msg-id 3073944.1740149062@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: DROP ROLE as SUPERUSER  (Dominique Devienne <ddevienne@gmail.com>)
Ответы Re: DROP ROLE as SUPERUSER
Список pgsql-general
Dominique Devienne <ddevienne@gmail.com> writes:
> On Fri, Feb 21, 2025 at 3:33 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> REASSIGN OWNED then DROP OWNED is the recommended path.

> Hi. Am I missing something? foobar does not OWN anything in this case.
> So I don't see how these recommendations are relevant to this particular
> case. --DD

DROP OWNED also removes relevant permission entries (which can be
thought of as things owned by the role, if you hold your head at
the right angle).  See its man page.

            regards, tom lane



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