Updated on 2024-06-03 GMT+08:00

PG_DEFAULT_ACL

PG_DEFAULT_ACL records initial permissions assigned to newly created objects.

Table 1 PG_DEFAULT_ACL columns

Name

Type

Description

oid

oid

Row identifier (hidden attribute, which must be specified)

defaclrole

oid

ID of the role associated with the permission

defaclnamespace

oid

Namespace associated with the permission (0 if no ID)

defaclobjtype

"char"

Object type of the permission

  • r: table or view
  • S: sequence
  • f: function
  • T: type
  • K: client master key
  • k: column encryption key

defaclacl

aclitem[]

Access permissions that this type of object should have on creation