Predefined roles
Built-in roles granting specific capabilities, such as pg_signal_backend, pg_monitor, pg_read_server_files, pg_read_all_data and pg_checkpoint. Introduced in PostgreSQL 9.6.
Versions
- PostgreSQL 20 · worked-on · improved · minor
- PostgreSQL 19 · shipped · improved · minor · 1 commit · +90 / -4 lines
- PostgreSQL 18 · shipped · improved · moderate · 3 commits · +188 / -13 lines
- PostgreSQL 17 · shipped · improved · minor · 1 commit · +41 / -1 lines
Threads
- Allow pg_read_all_stats to read replication origin status
- Re: First draft of PG 19 release notes
- BUG #19379: Role pg_read_all_data don't allowed read large objects
- [PATCH] Support reading large objects with pg_read_all_data
- Add backendType to PGPROC, replacing isRegularBackend
- wrong statement in the https://www.postgresql.org/docs/current/predefined-roles.html
- [PATCH] New predefined role pg_manage_extensions
- Allow non-superuser to cancel superuser tasks.
- improve predefined roles documentation
- [PATCH] allow pg_current_logfile() execution under pg_monitor role
- [PATCH v2] use has_privs_for_role for predefined roles
- [PATCH] New default role allowing to change per-role/database settings
- pg_checkpointer is not a verb or verb phrase
- Read access for pg_monitor to pg_replication_origin_status view
- Predefined role pg_maintenance for VACUUM, ANALYZE, CHECKPOINT.
- Granting control of SUSET gucs to non-superusers
- [PATCH] remove is_member_of_role() from header, add can_set_role()
- [PATCH] Conflation of member/privs for predefined roles
- New privileged roles which can SET and ALTER SYSTEM SET
- New default role- 'pg_read_all_data'
- pg_monitor role description
- Documentation: 21.5. Default Roles
- Default role -> Predefined role
- Tying an object's ownership to datdba
- Allow pg_read_all_stats to read pg_stat_progress_*
- doc: clarify "pg_signal_backend" default role
- [PATCH] Add regress test for pg_read_all_stats role
- BUG #15371: a user who not a member of pg_read_server_files role can create a new user into pg_read_server_files
- SHOW ALL does not honor pg_read_all_settings membership
- Add default role 'pg_access_server_files'
- Fix permissions check on pg_stat_get_wal_senders
- BUG #14860: pg_read_all_stats and pg_stat_replication
- pg_read_all_stats and pg_stat_replication in postgres 10.