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

Go to the source code of this file.

Macros

#define SharedSecLabelRelationId   3592
 
#define SharedSecLabelRelation_Rowtype_Id   4066
 
#define Natts_pg_shseclabel   4
 
#define Anum_pg_shseclabel_objoid   1
 
#define Anum_pg_shseclabel_classoid   2
 
#define Anum_pg_shseclabel_provider   3
 
#define Anum_pg_shseclabel_label   4
 

Typedefs

typedef FormData_pg_shseclabelForm_pg_shseclabel
 

Functions

 CATALOG (pg_shseclabel, 3592) BKI_SHARED_RELATION BKI_ROWTYPE_OID(4066) BKI_WITHOUT_OIDS BKI_SCHEMA_MACRO
 

Variables

 FormData_pg_shseclabel
 

Macro Definition Documentation

◆ Anum_pg_shseclabel_classoid

#define Anum_pg_shseclabel_classoid   2

◆ Anum_pg_shseclabel_label

#define Anum_pg_shseclabel_label   4

Definition at line 45 of file pg_shseclabel.h.

Referenced by GetSharedSecurityLabel(), and SetSharedSecurityLabel().

◆ Anum_pg_shseclabel_objoid

#define Anum_pg_shseclabel_objoid   1

◆ Anum_pg_shseclabel_provider

#define Anum_pg_shseclabel_provider   3

Definition at line 44 of file pg_shseclabel.h.

Referenced by GetSharedSecurityLabel(), and SetSharedSecurityLabel().

◆ Natts_pg_shseclabel

#define Natts_pg_shseclabel   4

Definition at line 41 of file pg_shseclabel.h.

Referenced by RelationCacheInitializePhase2(), and SetSharedSecurityLabel().

◆ SharedSecLabelRelation_Rowtype_Id

#define SharedSecLabelRelation_Rowtype_Id   4066

Definition at line 22 of file pg_shseclabel.h.

Referenced by RelationCacheInitializePhase2().

◆ SharedSecLabelRelationId

Typedef Documentation

◆ Form_pg_shseclabel

Function Documentation

◆ CATALOG()

CATALOG ( pg_shseclabel  ,
3592   
)

Definition at line 24 of file pg_shseclabel.h.

References BKI_FORCE_NOT_NULL, and label.

25 {
26  Oid objoid; /* OID of the shared object itself */
27  Oid classoid; /* OID of table containing the shared object */
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
FormData_pg_shseclabel
Definition: pg_shseclabel.h:33
unsigned int Oid
Definition: postgres_ext.h:31
#define BKI_FORCE_NOT_NULL
Definition: genbki.h:32
static char * label
Definition: pg_basebackup.c:82
Definition: c.h:487

Variable Documentation

◆ FormData_pg_shseclabel

FormData_pg_shseclabel

Definition at line 33 of file pg_shseclabel.h.