Re: drop role with privileges - Mailing list pgsql-general

From Tom Darci
Subject Re: drop role with privileges
Date
Msg-id A70D5EAEADAEB6438A262830763338A964AD77@MI8NYCMAIL16.Mi8.com
Whole thread Raw
In response to drop role with privileges  ("Tom Darci" <tom@nuws.com>)
List pgsql-general
>Did you try DROP OWNED BY?  It revokes privileges (as well as
>dropping objects owned by said role).

Thank you. That was exactly the *easy* soluton I'd been missing. I swear
I read the page in the manual for "DROP OWNED" several times, hoping to
see something like "Any privileges granted to the given roles on objects
in the current database will also be revoked.", which is right there.
I'll give that a spin (first using REASSIGN OWNED so that objects don't
get dropped). Thank you, Alvaro.

-Tom D


pgsql-general by date:

Previous
From: "Tom Darci"
Date:
Subject: Re: drop role with privileges
Next
From: "Shoaib Mir"
Date:
Subject: Re: TOAD-like query builder for PostgreSQL?