51.17. pg_default_acl
#
The catalogpg_default_acl
stores initial privileges to be assigned to newly created objects.
Table 51.17. pg_default_acl
Columns
Column Type Description |
---|
Row identifier |
The OID of the role associated with this entry |
The OID of the namespace associated with this entry, or zero if none |
Type of object this entry is for: |
Access privileges that this type of object should have on creation |
Apg_default_acl
entry shows the initial privileges to be assigned to an object belonging to the indicated user. There are currently two types of entry:“global” entries withdefaclnamespace
= zero, and“per-schema” entries that reference a particular schema. If a global entry is present then itoverrides the normal hard-wired default privileges for the object type. A per-schema entry, if present, represents privileges to beadded to the global or hard-wired default privileges.
Note that when an ACL entry in another catalog is null, it is taken to represent the hard-wired default privileges for its object,not whatever might be inpg_default_acl
at the moment.pg_default_acl
is only consulted during object creation.