Re: REVOKE ALL ON ALL OBJECTS IN ALL SCHEMAS FROM some_role?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




https://www.postgresql.org/docs/17/sql-droprole.html
(1) I don't see CASCADE as an option to DROP ROLE.
(2) CASCADE without a DRY RUN option scares me.  Yes, I could put it in a transaction block, but accidents happen, and rollback could take a long time.

On Tue, Jul 8, 2025 at 8:16 AM Scott Ribe <scott_ribe@xxxxxxxxxxxxxxxx> wrote:
I don't have an answer for you, just a question out of curiosity. Is this a prelude to dropping the role? Thus, if it existed, DROP ROLE ... CASCADE would have worked for your use case?

(Even so, I could still see other uses for your request.)


--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!

[Index of Archives]     [Postgresql Home]     [Postgresql General]     [Postgresql Performance]     [Postgresql PHP]     [Postgresql Jobs]     [PHP Users]     [PHP Databases]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Forum]

  Powered by Linux