PostgreSQL Source Code  git master
pg_default_acl.h File Reference
#include "catalog/genbki.h"
#include "catalog/pg_default_acl_d.h"
Include dependency graph for pg_default_acl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef FormData_pg_default_aclForm_pg_default_acl
 

Functions

 CATALOG (pg_default_acl, 826, DefaultAclRelationId)
 
 DECLARE_TOAST (pg_default_acl, 4143, 4144)
 
 DECLARE_UNIQUE_INDEX (pg_default_acl_role_nsp_obj_index, 827, DefaultAclRoleNspObjIndexId, pg_default_acl, btree(defaclrole oid_ops, defaclnamespace oid_ops, defaclobjtype char_ops))
 
 DECLARE_UNIQUE_INDEX_PKEY (pg_default_acl_oid_index, 828, DefaultAclOidIndexId, pg_default_acl, btree(oid oid_ops))
 
 MAKE_SYSCACHE (DEFACLROLENSPOBJ, pg_default_acl_role_nsp_obj_index, 8)
 

Variables

 FormData_pg_default_acl
 

Typedef Documentation

◆ Form_pg_default_acl

Definition at line 50 of file pg_default_acl.h.

Function Documentation

◆ CATALOG()

CATALOG ( pg_default_acl  ,
826  ,
DefaultAclRelationId   
)

Definition at line 30 of file pg_default_acl.h.

31 {
32  Oid oid; /* oid */
33  Oid defaclrole BKI_LOOKUP(pg_authid); /* OID of role owning this
34  * ACL */
35  Oid defaclnamespace BKI_LOOKUP_OPT(pg_namespace); /* OID of namespace, or
36  * 0 for all */
37  char defaclobjtype; /* see DEFACLOBJ_xxx constants below */
38 
39 #ifdef CATALOG_VARLEN /* variable-length fields start here */
40  aclitem defaclacl[1] BKI_FORCE_NOT_NULL; /* permissions to add at
41  * CREATE time */
42 #endif
#define BKI_LOOKUP(catalog)
Definition: genbki.h:46
#define BKI_LOOKUP_OPT(catalog)
Definition: genbki.h:47
#define BKI_FORCE_NOT_NULL
Definition: genbki.h:33
FormData_pg_default_acl
unsigned int Oid
Definition: postgres_ext.h:31

References BKI_FORCE_NOT_NULL, BKI_LOOKUP, and BKI_LOOKUP_OPT.

◆ DECLARE_TOAST()

DECLARE_TOAST ( pg_default_acl  ,
4143  ,
4144   
)

◆ DECLARE_UNIQUE_INDEX()

DECLARE_UNIQUE_INDEX ( pg_default_acl_role_nsp_obj_index  ,
827  ,
DefaultAclRoleNspObjIndexId  ,
pg_default_acl  ,
btree(defaclrole oid_ops, defaclnamespace oid_ops, defaclobjtype char_ops)   
)

◆ DECLARE_UNIQUE_INDEX_PKEY()

DECLARE_UNIQUE_INDEX_PKEY ( pg_default_acl_oid_index  ,
828  ,
DefaultAclOidIndexId  ,
pg_default_acl  ,
btree(oid oid_ops)   
)

◆ MAKE_SYSCACHE()

MAKE_SYSCACHE ( DEFACLROLENSPOBJ  ,
pg_default_acl_role_nsp_obj_index  ,
 
)

Variable Documentation

◆ FormData_pg_default_acl

FormData_pg_default_acl

Definition at line 43 of file pg_default_acl.h.