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

Go to the source code of this file.

Typedefs

typedef FormData_pg_init_privsForm_pg_init_privs
 
typedef enum InitPrivsType InitPrivsType
 

Enumerations

enum  InitPrivsType { INITPRIVS_INITDB = 'i' , INITPRIVS_EXTENSION = 'e' }
 

Functions

 CATALOG (pg_init_privs, 3394, InitPrivsRelationId)
 
 DECLARE_TOAST (pg_init_privs, 4155, 4156)
 
 DECLARE_UNIQUE_INDEX_PKEY (pg_init_privs_o_c_o_index, 3395, InitPrivsObjIndexId, pg_init_privs, btree(objoid oid_ops, classoid oid_ops, objsubid int4_ops))
 

Variables

 FormData_pg_init_privs
 

Typedef Documentation

◆ Form_pg_init_privs

Definition at line 64 of file pg_init_privs.h.

◆ InitPrivsType

Enumeration Type Documentation

◆ InitPrivsType

Enumerator
INITPRIVS_INITDB 
INITPRIVS_EXTENSION 

Definition at line 77 of file pg_init_privs.h.

78 {
79  INITPRIVS_INITDB = 'i',
80  INITPRIVS_EXTENSION = 'e',
InitPrivsType
Definition: pg_init_privs.h:78
@ INITPRIVS_EXTENSION
Definition: pg_init_privs.h:80
@ INITPRIVS_INITDB
Definition: pg_init_privs.h:79

Function Documentation

◆ CATALOG()

CATALOG ( pg_init_privs  ,
3394  ,
InitPrivsRelationId   
)

Definition at line 46 of file pg_init_privs.h.

47 {
48  Oid objoid; /* OID of object itself */
49  Oid classoid BKI_LOOKUP(pg_class); /* OID of table containing
50  * object */
51  int32 objsubid; /* column number, or 0 if not used */
52  char privtype; /* from initdb or extension? */
53 
54 #ifdef CATALOG_VARLEN /* variable-length fields start here */
55  aclitem initprivs[1] BKI_FORCE_NOT_NULL; /* initial privs on object */
56 #endif
int32_t int32
Definition: c.h:481
#define BKI_LOOKUP(catalog)
Definition: genbki.h:46
#define BKI_FORCE_NOT_NULL
Definition: genbki.h:33
FormData_pg_init_privs
Definition: pg_init_privs.h:57
unsigned int Oid
Definition: postgres_ext.h:31

References BKI_FORCE_NOT_NULL, and BKI_LOOKUP.

◆ DECLARE_TOAST()

DECLARE_TOAST ( pg_init_privs  ,
4155  ,
4156   
)

◆ DECLARE_UNIQUE_INDEX_PKEY()

DECLARE_UNIQUE_INDEX_PKEY ( pg_init_privs_o_c_o_index  ,
3395  ,
InitPrivsObjIndexId  ,
pg_init_privs  ,
btree(objoid oid_ops, classoid oid_ops, objsubid int4_ops)   
)

Variable Documentation

◆ FormData_pg_init_privs

FormData_pg_init_privs

Definition at line 57 of file pg_init_privs.h.