Re: DROP ROLE as SUPERUSER - Mailing list pgsql-general

From Dominique Devienne
Subject Re: DROP ROLE as SUPERUSER
Date
Msg-id CAFCRh--+406OqvQv60Yt9DXzS2cy9EN9Gz4hUx7sVKT9Ui7afQ@mail.gmail.com
Whole thread Raw
In response to Re: DROP ROLE as SUPERUSER  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: DROP ROLE as SUPERUSER
Re: DROP ROLE as SUPERUSER
List pgsql-general
On Fri, Feb 21, 2025 at 3:33 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
Dominique Devienne <ddevienne@gmail.com> writes:
> The point I'm trying to make, is that "hunting down" grantor(s) to connect
> to DB(s) to be able to "force drop" a ROLE is a PITA. And I really wish
> there
> was an easier way to drop a role in that situation. --DD

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

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: DROP ROLE as SUPERUSER
Next
From: Tom Lane
Date:
Subject: Re: DROP ROLE as SUPERUSER