select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Extensions / Security

drop_role_helper

Generates SQL to revoke all privileges held by a role in the current database.

pgext.cloud · Source code · Documentation · License text · Control file

Overview

Packagedrop_role_helper
Version1.0
RepositoryUnspecified
Extension typeSQL only
Requires CREATE EXTENSIONYes
Requires preloadNo
TrustedNo
RelocatableYes
Stars7
Latest commit2023-06-05
Catalogue updated2026-08-30

Related extensions

Requires

plpgsqlPL/pgSQL procedural language

See also

tencentdb_superuserTencentDB administration extension that supplies the managed pg_tencentdb_superuser role and privileges.
custom_rolesRole-specific Supabase RLS tables and functions for managing user roles.
grants_managerDeclarative PL/pgSQL toolkit for snapshotting, reporting, and aligning database object grants.
pg_role_fkey_trigger_functionsA bunch of trigger functions to help establish and/or maintain referential integrity for columns that reference PostgreSQL ROLE NAMEs.
rds_hwdrs_privsHuawei Cloud RDS helper extension for granting selected replication and catalog privileges.
set_usersimilar to SET ROLE but with added logging
monitoring_roleSecurity-definer monitoring wrappers for a non-privileged role
pointsource@supabase_rbacRole-Based Access Control for your Supabase project