PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
pg_seclabel.h File Reference
#include "catalog/genbki.h"
Include dependency graph for pg_seclabel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SecLabelRelationId   3596
 
#define Natts_pg_seclabel   5
 
#define Anum_pg_seclabel_objoid   1
 
#define Anum_pg_seclabel_classoid   2
 
#define Anum_pg_seclabel_objsubid   3
 
#define Anum_pg_seclabel_provider   4
 
#define Anum_pg_seclabel_label   5
 

Functions

 CATALOG (pg_seclabel, 3596) BKI_WITHOUT_OIDS
 

Variables

 FormData_pg_seclabel
 

Macro Definition Documentation

#define Anum_pg_seclabel_classoid   2

Definition at line 41 of file pg_seclabel.h.

Referenced by DeleteSecurityLabel(), GetSecurityLabel(), and SetSecurityLabel().

#define Anum_pg_seclabel_label   5

Definition at line 44 of file pg_seclabel.h.

Referenced by GetSecurityLabel(), and SetSecurityLabel().

#define Anum_pg_seclabel_objoid   1

Definition at line 40 of file pg_seclabel.h.

Referenced by DeleteSecurityLabel(), GetSecurityLabel(), and SetSecurityLabel().

#define Anum_pg_seclabel_objsubid   3

Definition at line 42 of file pg_seclabel.h.

Referenced by DeleteSecurityLabel(), GetSecurityLabel(), and SetSecurityLabel().

#define Anum_pg_seclabel_provider   4

Definition at line 43 of file pg_seclabel.h.

Referenced by GetSecurityLabel(), and SetSecurityLabel().

#define Natts_pg_seclabel   5

Definition at line 39 of file pg_seclabel.h.

Referenced by SetSecurityLabel().

#define SecLabelRelationId   3596

Function Documentation

CATALOG ( pg_seclabel  ,
3596   
)

Definition at line 23 of file pg_seclabel.h.

References BKI_FORCE_NOT_NULL, and label.

24 {
25  Oid objoid; /* OID of the object itself */
26  Oid classoid; /* OID of table containing the object */
27  int32 objsubid; /* column number, or 0 if not used */
28 
29 #ifdef CATALOG_VARLEN /* variable-length fields start here */
30  text provider BKI_FORCE_NOT_NULL; /* name of label provider */
31  text label BKI_FORCE_NOT_NULL; /* security label of the object */
32 #endif
unsigned int Oid
Definition: postgres_ext.h:31
signed int int32
Definition: c.h:256
#define BKI_FORCE_NOT_NULL
Definition: genbki.h:32
static char * label
Definition: pg_basebackup.c:81
Definition: c.h:439
FormData_pg_seclabel
Definition: pg_seclabel.h:33

Variable Documentation

FormData_pg_seclabel

Definition at line 33 of file pg_seclabel.h.