Re: Trouble DROP'ing a ROLE, despite REVOKE'ing its privileges - Mailing list pgsql-general

From Tom Lane
Subject Re: Trouble DROP'ing a ROLE, despite REVOKE'ing its privileges
Date
Msg-id 792111.1641407185@sss.pgh.pa.us
Whole thread Raw
In response to Trouble DROP'ing a ROLE, despite REVOKE'ing its privileges  (Dominique Devienne <ddevienne@gmail.com>)
List 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 by date:

Previous
From: Rob Sargent
Date:
Subject: Re: Trouble DROP'ing a ROLE, despite REVOKE'ing its privileges
Next
From: Tom Lane
Date:
Subject: Re: Trouble DROP'ing a ROLE, despite REVOKE'ing its privileges