OSDN Git Service

rebuid:
[eos/hostdependX86MAC64.git] / util / X86MAC64 / include / postgresql / server / catalog / pg_shseclabel.h
1 /* -------------------------------------------------------------------------
2  *
3  * pg_shseclabel.h
4  *        definition of the system "security label" relation (pg_shseclabel)
5  *
6  * Portions Copyright (c) 1996-2014, PostgreSQL Global Development Group
7  * Portions Copyright (c) 1994, Regents of the University of California
8  *
9  * -------------------------------------------------------------------------
10  */
11 #ifndef PG_SHSECLABEL_H
12 #define PG_SHSECLABEL_H
13
14 #include "catalog/genbki.h"
15
16 /* ----------------
17  *              pg_shseclabel definition. cpp turns this into
18  *              typedef struct FormData_pg_shseclabel
19  * ----------------
20  */
21 #define SharedSecLabelRelationId                3592
22
23 CATALOG(pg_shseclabel,3592) BKI_SHARED_RELATION BKI_WITHOUT_OIDS
24 {
25         Oid                     objoid;                 /* OID of the shared object itself */
26         Oid                     classoid;               /* OID of table containing the shared object */
27
28 #ifdef CATALOG_VARLEN                   /* variable-length fields start here */
29         text            provider;               /* name of label provider */
30         text            label;                  /* security label of the object */
31 #endif
32 } FormData_pg_shseclabel;
33
34 /* ----------------
35  *              compiler constants for pg_shseclabel
36  * ----------------
37  */
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
43
44 #endif   /* PG_SHSECLABEL_H */