PostgreSQL Source Code git master
Loading...
Searching...
No Matches
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.

Functions

BEGIN_CATALOG_STRUCT 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

END_CATALOG_STRUCT typedef FormData_pg_default_aclForm_pg_default_acl
 
 FormData_pg_default_acl
 

Function Documentation

◆ CATALOG()

Definition at line 32 of file pg_default_acl.h.

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

References BKI_FORCE_NOT_NULL, BKI_LOOKUP, BKI_LOOKUP_OPT, and fb().

◆ 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

◆ Form_pg_default_acl

◆ FormData_pg_default_acl

FormData_pg_default_acl

Definition at line 45 of file pg_default_acl.h.