PostgreSQL Source Code git master
Loading...
Searching...
No Matches
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-2026, 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" /* IWYU pragma: export */
22
23/* ----------------
24 * pg_shseclabel definition. cpp turns this into
25 * typedef struct FormData_pg_shseclabel
26 * ----------------
27 */
29
31{
32 Oid objoid; /* OID of the shared object itself */
33 Oid classoid BKI_LOOKUP(pg_class); /* OID of table containing the
34 * shared object */
35
36#ifdef CATALOG_VARLEN /* variable-length fields start here */
37 text provider BKI_FORCE_NOT_NULL; /* name of label provider */
38 text label BKI_FORCE_NOT_NULL; /* security label of the object */
39#endif
41
43
45
47
49
50#endif /* PG_SHSECLABEL_H */
#define BEGIN_CATALOG_STRUCT
Definition genbki.h:37
#define DECLARE_UNIQUE_INDEX_PKEY(name, oid, oidmacro, tblname, decl)
Definition genbki.h:105
#define BKI_LOOKUP(catalog)
Definition genbki.h:65
#define END_CATALOG_STRUCT
Definition genbki.h:38
#define DECLARE_TOAST_WITH_MACRO(name, toastoid, indexoid, toastoidmacro, indexoidmacro)
Definition genbki.h:83
#define BKI_FORCE_NOT_NULL
Definition genbki.h:52
#define CATALOG(name, oid, oidmacro)
Definition genbki.h:42
#define BKI_SHARED_RELATION
Definition genbki.h:46
#define BKI_ROWTYPE_OID(oid, oidmacro)
Definition genbki.h:47
static char * label
FormData_pg_shseclabel
BEGIN_CATALOG_STRUCT SharedSecLabelRelation_Rowtype_Id BKI_SCHEMA_MACRO
END_CATALOG_STRUCT typedef FormData_pg_shseclabel * Form_pg_shseclabel
unsigned int Oid
static int fb(int x)
Definition c.h:748