PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
pg_default_acl.h File Reference
#include "catalog/genbki.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.

Macros

#define DefaultAclRelationId   826
 
#define Natts_pg_default_acl   4
 
#define Anum_pg_default_acl_defaclrole   1
 
#define Anum_pg_default_acl_defaclnamespace   2
 
#define Anum_pg_default_acl_defaclobjtype   3
 
#define Anum_pg_default_acl_defaclacl   4
 
#define DEFACLOBJ_RELATION   'r' /* table, view */
 
#define DEFACLOBJ_SEQUENCE   'S' /* sequence */
 
#define DEFACLOBJ_FUNCTION   'f' /* function */
 
#define DEFACLOBJ_TYPE   'T' /* type */
 
#define DEFACLOBJ_NAMESPACE   'n' /* namespace */
 

Typedefs

typedef FormData_pg_default_aclForm_pg_default_acl
 

Functions

 CATALOG (pg_default_acl, 826)
 

Variables

 FormData_pg_default_acl
 

Macro Definition Documentation

#define Anum_pg_default_acl_defaclacl   4

Definition at line 57 of file pg_default_acl.h.

Referenced by get_default_acl_internal(), and SetDefaultACL().

#define Anum_pg_default_acl_defaclnamespace   2

Definition at line 55 of file pg_default_acl.h.

Referenced by SetDefaultACL().

#define Anum_pg_default_acl_defaclobjtype   3

Definition at line 56 of file pg_default_acl.h.

Referenced by SetDefaultACL().

#define Anum_pg_default_acl_defaclrole   1

Definition at line 54 of file pg_default_acl.h.

Referenced by SetDefaultACL().

#define Natts_pg_default_acl   4

Definition at line 53 of file pg_default_acl.h.

Referenced by SetDefaultACL().

Typedef Documentation

Function Documentation

CATALOG ( pg_default_acl  ,
826   
)

Definition at line 30 of file pg_default_acl.h.

31 {
32  Oid defaclrole; /* OID of role owning this ACL */
33  Oid defaclnamespace; /* OID of namespace, or 0 for all */
34  char defaclobjtype; /* see DEFACLOBJ_xxx constants below */
35 
36 #ifdef CATALOG_VARLEN /* variable-length fields start here */
37  aclitem defaclacl[1]; /* permissions to add at CREATE time */
38 #endif
unsigned int Oid
Definition: postgres_ext.h:31
FormData_pg_default_acl

Variable Documentation

FormData_pg_default_acl

Definition at line 39 of file pg_default_acl.h.