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) BKI_WITHOUT_OIDS
 

Variables

 FormData_pg_init_privs
 

Typedef Documentation

◆ Form_pg_init_privs

◆ InitPrivsType

Enumeration Type Documentation

◆ InitPrivsType

Enumerator
INITPRIVS_INITDB 
INITPRIVS_EXTENSION 

Definition at line 72 of file pg_init_privs.h.

Function Documentation

◆ CATALOG()

CATALOG ( pg_init_privs  ,
3394  ,
InitPrivsRelationId   
)

Definition at line 46 of file pg_init_privs.h.

References BKI_FORCE_NOT_NULL, and classoid.

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

Variable Documentation

◆ FormData_pg_init_privs

FormData_pg_init_privs

Definition at line 56 of file pg_init_privs.h.