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

Macros

#define InitPrivsRelationId   3394
 
#define Natts_pg_init_privs   5
 
#define Anum_pg_init_privs_objoid   1
 
#define Anum_pg_init_privs_classoid   2
 
#define Anum_pg_init_privs_objsubid   3
 
#define Anum_pg_init_privs_privtype   4
 
#define Anum_pg_init_privs_privs   5
 

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

Variables

 FormData_pg_init_privs
 

Macro Definition Documentation

#define Anum_pg_init_privs_classoid   2

Definition at line 69 of file pg_init_privs.h.

Referenced by DeleteInitPrivs(), and recordExtensionInitPrivWorker().

#define Anum_pg_init_privs_objoid   1

Definition at line 68 of file pg_init_privs.h.

Referenced by DeleteInitPrivs(), and recordExtensionInitPrivWorker().

#define Anum_pg_init_privs_objsubid   3

Definition at line 70 of file pg_init_privs.h.

Referenced by DeleteInitPrivs(), and recordExtensionInitPrivWorker().

#define Anum_pg_init_privs_privs   5

Definition at line 72 of file pg_init_privs.h.

Referenced by recordExtensionInitPrivWorker().

#define Anum_pg_init_privs_privtype   4

Definition at line 71 of file pg_init_privs.h.

Referenced by recordExtensionInitPrivWorker().

#define InitPrivsRelationId   3394

Definition at line 42 of file pg_init_privs.h.

Referenced by DeleteInitPrivs(), and recordExtensionInitPrivWorker().

#define Natts_pg_init_privs   5

Definition at line 67 of file pg_init_privs.h.

Referenced by recordExtensionInitPrivWorker().

Typedef Documentation

Enumeration Type Documentation

Enumerator
INITPRIVS_INITDB 
INITPRIVS_EXTENSION 

Definition at line 81 of file pg_init_privs.h.

Function Documentation

CATALOG ( pg_init_privs  ,
3394   
)

Definition at line 44 of file pg_init_privs.h.

References BKI_FORCE_NOT_NULL.

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

Variable Documentation

FormData_pg_init_privs

Definition at line 54 of file pg_init_privs.h.