diff options
author | vvvv <vvvv@yandex-team.ru> | 2022-03-02 21:58:12 +0300 |
---|---|---|
committer | vvvv <vvvv@yandex-team.ru> | 2022-03-02 21:58:12 +0300 |
commit | b3e58e6a1f6b37f788fce4205f7a9484ca355607 (patch) | |
tree | a894e40a9a8446f9436af7909ced1ab865edd6ea /contrib/libs/postgresql/src/include/catalog/pg_shseclabel.h | |
parent | 5311be47588ef1c5cb5b5debb5dce86a633d1187 (diff) | |
download | ydb-b3e58e6a1f6b37f788fce4205f7a9484ca355607.tar.gz |
YQL-13710 use .dat from contrib
ref:9c6092ec75933d1325acf5ecf1217d408ea5dcad
Diffstat (limited to 'contrib/libs/postgresql/src/include/catalog/pg_shseclabel.h')
-rw-r--r-- | contrib/libs/postgresql/src/include/catalog/pg_shseclabel.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/contrib/libs/postgresql/src/include/catalog/pg_shseclabel.h b/contrib/libs/postgresql/src/include/catalog/pg_shseclabel.h new file mode 100644 index 0000000000..331e066448 --- /dev/null +++ b/contrib/libs/postgresql/src/include/catalog/pg_shseclabel.h @@ -0,0 +1,41 @@ +/* ------------------------------------------------------------------------- + * + * pg_shseclabel.h + * definition of the "shared security label" system catalog (pg_shseclabel) + * + * Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group + * Portions Copyright (c) 1994, Regents of the University of California + * + * src/include/catalog/pg_shseclabel.h + * + * NOTES + * The Catalog.pm module reads this file and derives schema + * information. + * + * ------------------------------------------------------------------------- + */ +#ifndef PG_SHSECLABEL_H +#define PG_SHSECLABEL_H + +#include "catalog/genbki.h" +#include "catalog/pg_shseclabel_d.h" + +/* ---------------- + * pg_shseclabel definition. cpp turns this into + * typedef struct FormData_pg_shseclabel + * ---------------- + */ +CATALOG(pg_shseclabel,3592,SharedSecLabelRelationId) BKI_SHARED_RELATION BKI_ROWTYPE_OID(4066,SharedSecLabelRelation_Rowtype_Id) BKI_SCHEMA_MACRO +{ + Oid objoid; /* OID of the shared object itself */ + Oid classoid; /* OID of table containing the shared object */ + +#ifdef CATALOG_VARLEN /* variable-length fields start here */ + text provider BKI_FORCE_NOT_NULL; /* name of label provider */ + text label BKI_FORCE_NOT_NULL; /* security label of the object */ +#endif +} FormData_pg_shseclabel; + +typedef FormData_pg_shseclabel * Form_pg_shseclabel; + +#endif /* PG_SHSECLABEL_H */ |