PostgreSQL Source Code  git master
pg_seclabel.h File Reference
#include "catalog/genbki.h"
#include "catalog/pg_seclabel_d.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.

Functions

 CATALOG (pg_seclabel, 3596, SecLabelRelationId)
 
 DECLARE_TOAST (pg_seclabel, 3598, 3599)
 
 DECLARE_UNIQUE_INDEX_PKEY (pg_seclabel_object_index, 3597, SecLabelObjectIndexId, on pg_seclabel using btree(objoid oid_ops, classoid oid_ops, objsubid int4_ops, provider text_ops))
 

Variables

 FormData_pg_seclabel
 

Function Documentation

◆ CATALOG()

CATALOG ( pg_seclabel  ,
3596  ,
SecLabelRelationId   
)

Definition at line 28 of file pg_seclabel.h.

References BKI_FORCE_NOT_NULL, BKI_LOOKUP, label, and provider.

29 {
30  Oid objoid; /* OID of the object itself */
31  Oid classoid BKI_LOOKUP(pg_class); /* OID of table containing the
32  * object */
33  int32 objsubid; /* column number, or 0 if not used */
34 
35 #ifdef CATALOG_VARLEN /* variable-length fields start here */
36  text provider BKI_FORCE_NOT_NULL; /* name of label provider */
37  text label BKI_FORCE_NOT_NULL; /* security label of the object */
38 #endif
unsigned int Oid
Definition: postgres_ext.h:31
signed int int32
Definition: c.h:429
#define BKI_FORCE_NOT_NULL
Definition: genbki.h:33
static JitProviderCallbacks provider
Definition: jit.c:43
#define BKI_LOOKUP(catalog)
Definition: genbki.h:46
static char * label
Definition: c.h:621
FormData_pg_seclabel
Definition: pg_seclabel.h:39

◆ DECLARE_TOAST()

DECLARE_TOAST ( pg_seclabel  ,
3598  ,
3599   
)

◆ DECLARE_UNIQUE_INDEX_PKEY()

DECLARE_UNIQUE_INDEX_PKEY ( pg_seclabel_object_index  ,
3597  ,
SecLabelObjectIndexId  ,
on pg_seclabel using   btreeobjoid oid_ops, classoid oid_ops, objsubid int4_ops, provider text_ops 
)

Variable Documentation

◆ FormData_pg_seclabel

FormData_pg_seclabel

Definition at line 39 of file pg_seclabel.h.