DROP ROLE as SUPERUSER - Mailing list pgsql-general

From Dominique Devienne
Subject DROP ROLE as SUPERUSER
Date
Msg-id CAFCRh-_3+E3-pmdH+i5jUE-8Z1jJWxxdP3EcFjTbHVWM+oEweg@mail.gmail.com
Whole thread Raw
Responses Re: DROP ROLE as SUPERUSER
List pgsql-general
Hi. Today I was surprised that REVOKE ALL ON DATABASE FROM ROLE silently did nothing, even with CASCADE, when I was running it as SUPERUSER, preventing DROP'ing the ROLE. I had to manually SET ROLE to the GRANTOR, do the REVOKE, which DID something this time, and then I could DROP the role.

That's hardly convenient :). And I was helping someone else who couldn't figure out how to drop that role. Isn't there a better way?

I thought SUPERUSER was more powerful that than. Why isn't it?

Thanks, --DD

pgsql-general by date:

Previous
From: Dominique Devienne
Date:
Subject: Re: #XX000: ERROR: tuple concurrently updated
Next
From: "David G. Johnston"
Date:
Subject: Re: DROP ROLE as SUPERUSER