1 /* -------------------------------------------------------------------------
4 * definition of the system "security label" relation (pg_shseclabel)
6 * Portions Copyright (c) 1996-2014, PostgreSQL Global Development Group
7 * Portions Copyright (c) 1994, Regents of the University of California
9 * -------------------------------------------------------------------------
11 #ifndef PG_SHSECLABEL_H
12 #define PG_SHSECLABEL_H
14 #include "catalog/genbki.h"
17 * pg_shseclabel definition. cpp turns this into
18 * typedef struct FormData_pg_shseclabel
21 #define SharedSecLabelRelationId 3592
23 CATALOG(pg_shseclabel,3592) BKI_SHARED_RELATION BKI_WITHOUT_OIDS
25 Oid objoid; /* OID of the shared object itself */
26 Oid classoid; /* OID of table containing the shared object */
28 #ifdef CATALOG_VARLEN /* variable-length fields start here */
29 text provider; /* name of label provider */
30 text label; /* security label of the object */
32 } FormData_pg_shseclabel;
35 * compiler constants for pg_shseclabel
38 #define Natts_pg_shseclabel 4
39 #define Anum_pg_shseclabel_objoid 1
40 #define Anum_pg_shseclabel_classoid 2
41 #define Anum_pg_shseclabel_provider 3
42 #define Anum_pg_shseclabel_label 4
44 #endif /* PG_SHSECLABEL_H */