47.17. pg_db_role_setting

Note: The following description applies both to Postgres-XC and PostgreSQL if not described explicitly. You can read PostgreSQL as Postgres-XC except for version number, which is specific to each product.

The catalog pg_db_role_setting records the default values that have been set for run-time configuration variables, for each role and database combination.

Unlike most system catalogs, pg_db_role_setting is shared across all databases of a cluster: there is only one copy of pg_db_role_setting per cluster, not one per database.

Table 47-17. pg_db_role_setting Columns

NameTypeReferencesDescription
setdatabaseoidpg_database.oidThe OID of the database the setting is applicable to, or zero if not database-specific
setroleoidpg_authid.oidThe OID of the role the setting is applicable to, or zero if not role-specific
setconfigtext[] Defaults for run-time configuration variables