/
githubmirror
/
postgres
Обзор
Документация
Войти
/
githubmirror
/
postgres
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/include/catalog/pg_propgraph_element_label.h
55 строк
2 KB
Tom Lane
Do pre-release housekeeping on catalog data.
13 май 2026, 17:54
13 май 2026, 17:54
c7cb8e5
Код
Авторство
О чём код?
/*------------------------------------------------------------------------- * * pg_propgraph_element_label.h * * Portions Copyright (c) 1996-2026, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * src/include/catalog/pg_propgraph_element_label.h * * NOTES * The Catalog.pm module reads this file and derives schema * information. * *------------------------------------------------------------------------- */ #ifndef PG_PROPGRAPH_ELEMENT_LABEL_H #define PG_PROPGRAPH_ELEMENT_LABEL_H #include "catalog/genbki.h" #include "catalog/pg_propgraph_element_label_d.h" /* ---------------- * pg_propgraph_element_label definition. cpp turns this into * typedef struct FormData_pg_propgraph_element_label * ---------------- */ BEGIN_CATALOG_STRUCT CATALOG(pg_propgraph_element_label,6472,PropgraphElementLabelRelationId) { Oid oid; /* OID of the label */ Oid pgellabelid BKI_LOOKUP(pg_propgraph_label); /* OID of the property graph element */ Oid pgelelid BKI_LOOKUP(pg_propgraph_element); } FormData_pg_propgraph_element_label; END_CATALOG_STRUCT /* ---------------- * Form_pg_propgraph_element_label corresponds to a pointer to a tuple with * the format of pg_propgraph_element_label relation. * ---------------- */ typedef FormData_pg_propgraph_element_label *Form_pg_propgraph_element_label; DECLARE_UNIQUE_INDEX_PKEY(pg_propgraph_element_label_oid_index, 6476, PropgraphElementLabelObjectIndexId, pg_propgraph_element_label, btree(oid oid_ops)); DECLARE_UNIQUE_INDEX(pg_propgraph_element_label_element_label_index, 6477, PropgraphElementLabelElementLabelIndexId, pg_propgraph_element_label, btree(pgelelid oid_ops, pgellabelid oid_ops)); DECLARE_INDEX(pg_propgraph_element_label_label_index, 6481, PropgraphElementLabelLabelIndexId, pg_propgraph_element_label, btree(pgellabelid oid_ops)); MAKE_SYSCACHE(PROPGRAPHELEMENTLABELELEMENTLABEL, pg_propgraph_element_label_element_label_index, 128); #endif /* PG_PROPGRAPH_ELEMENT_LABEL_H */