PostgreSQL Source Code  git master
pg_shseclabel.h
Go to the documentation of this file.
1 /* -------------------------------------------------------------------------
2  *
3  * pg_shseclabel.h
4  * definition of the "shared security label" system catalog (pg_shseclabel)
5  *
6  * Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group
7  * Portions Copyright (c) 1994, Regents of the University of California
8  *
9  * src/include/catalog/pg_shseclabel.h
10  *
11  * NOTES
12  * The Catalog.pm module reads this file and derives schema
13  * information.
14  *
15  * -------------------------------------------------------------------------
16  */
17 #ifndef PG_SHSECLABEL_H
18 #define PG_SHSECLABEL_H
19 
20 #include "catalog/genbki.h"
21 #include "catalog/pg_shseclabel_d.h"
22 
23 /* ----------------
24  * pg_shseclabel definition. cpp turns this into
25  * typedef struct FormData_pg_shseclabel
26  * ----------------
27  */
28 CATALOG(pg_shseclabel,3592,SharedSecLabelRelationId) BKI_SHARED_RELATION BKI_ROWTYPE_OID(4066,SharedSecLabelRelation_Rowtype_Id) BKI_WITHOUT_OIDS BKI_SCHEMA_MACRO
29 {
30  Oid objoid; /* OID of the shared object itself */
31  Oid classoid; /* OID of table containing the shared object */
32 
33 #ifdef CATALOG_VARLEN /* variable-length fields start here */
34  text provider BKI_FORCE_NOT_NULL; /* name of label provider */
35  text label BKI_FORCE_NOT_NULL; /* security label of the object */
36 #endif
38 
40 
41 #endif /* PG_SHSECLABEL_H */
#define BKI_SHARED_RELATION
Definition: genbki.h:27
FormData_pg_shseclabel
Definition: pg_shseclabel.h:37
unsigned int Oid
Definition: postgres_ext.h:31
#define BKI_WITHOUT_OIDS
Definition: genbki.h:28
#define BKI_FORCE_NOT_NULL
Definition: genbki.h:34
static JitProviderCallbacks provider
Definition: jit.c:46
Oid classoid
Definition: pg_shseclabel.h:31
#define BKI_ROWTYPE_OID(oid, oidmacro)
Definition: genbki.h:29
static char * label
Definition: pg_basebackup.c:84
CATALOG(pg_shseclabel, 3592, SharedSecLabelRelationId) BKI_SHARED_RELATION BKI_ROWTYPE_OID(4066
FormData_pg_shseclabel * Form_pg_shseclabel
Definition: pg_shseclabel.h:39
SharedSecLabelRelation_Rowtype_Id BKI_WITHOUT_OIDS BKI_SCHEMA_MACRO
Definition: pg_shseclabel.h:29
Definition: c.h:516