Content-Length: 88826 | pFad | http://postgrespro.com/docs/postgrespro/9.6/catalog-pg-default-acl

Postgres Pro Standard : Documentation: 9.6: 48.17. pg_default_acl : Postgres Professional

48.17. pg_default_acl

The catalog pg_default_acl stores initial privileges to be assigned to newly created objects.

Table 48.17. pg_default_acl Columns

NameTypeReferencesDescription
oidoid Row identifier (hidden attribute; must be explicitly selected)
defaclroleoidpg_authid.oidThe OID of the role associated with this entry
defaclnamespaceoidpg_namespace.oidThe OID of the namespace associated with this entry, or 0 if none
defaclobjtypechar  Type of object this entry is for: r = relation (table, view), S = sequence, f = function, T = type
defaclaclaclitem[]  Access privileges that this type of object should have on creation

A pg_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 with defaclnamespace = 0, and per-schema entries that reference a particular schema. If a global entry is present then it overrides the normal hard-wired default privileges for the object type. A per-schema entry, if present, represents privileges to be added 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 in pg_default_acl at the moment. pg_default_acl is only consulted during object creation.









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://postgrespro.com/docs/postgrespro/9.6/catalog-pg-default-acl

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy