Update predefined roles for PostgreSQL-14

This commit is contained in:
Lars Kanis 2022-01-17 13:37:09 +01:00
parent 49a03915a7
commit 52ca5fc323

View File

@ -106,8 +106,8 @@ class Application
PgRole = Struct.new :name, :member_names
# List of default roles taken from https://www.postgresql.org/docs/current/static/default-roles.html
PG_BUILTIN_ROLES = %w[ pg_signal_backend pg_monitor pg_read_all_settings pg_read_all_stats pg_stat_scan_tables]
# List of default roles taken from https://www.postgresql.org/docs/current/predefined-roles.html
PG_BUILTIN_ROLES = %w[ pg_read_all_data pg_write_all_data pg_read_all_settings pg_read_all_stats pg_stat_scan_tables pg_monitor pg_database_owner pg_signal_backend pg_read_server_files pg_write_server_files pg_execute_server_program ]
def search_pg_users
pg_users_conf = @config[:pg_users]