/
githubmirror
/
postgres
Обзор
Документация
Войти
/
githubmirror
/
postgres
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/include/catalog/pg_propgraph_property.h
64 строки
2 KB
Tom Lane
Do pre-release housekeeping on catalog data.
13 май 2026, 17:54
13 май 2026, 17:54
c7cb8e5
Код
Авторство
О чём код?
/*------------------------------------------------------------------------- * * pg_propgraph_property.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_property.h * * NOTES * The Catalog.pm module reads this file and derives schema * information. * *------------------------------------------------------------------------- */ #ifndef PG_PROPGRAPH_PROPERTY_H #define PG_PROPGRAPH_PROPERTY_H #include "catalog/genbki.h" #include "catalog/pg_propgraph_property_d.h" /* ---------------- * pg_propgraph_property definition. cpp turns this into * typedef struct FormData_pg_propgraph_property * ---------------- */ BEGIN_CATALOG_STRUCT CATALOG(pg_propgraph_property,6473,PropgraphPropertyRelationId) { Oid oid; /* OID of the property graph relation */ Oid pgppgid BKI_LOOKUP(pg_class); /* property name */ NameData pgpname; /* data type of the property */ Oid pgptypid BKI_LOOKUP_OPT(pg_type); /* typemod of the property */ int32 pgptypmod; /* collation of the property */ Oid pgpcollation BKI_LOOKUP_OPT(pg_collation); } FormData_pg_propgraph_property; END_CATALOG_STRUCT /* ---------------- * Form_pg_propgraph_property corresponds to a pointer to a tuple with * the format of pg_propgraph_property relation. * ---------------- */ typedef FormData_pg_propgraph_property *Form_pg_propgraph_property; DECLARE_UNIQUE_INDEX_PKEY(pg_propgraph_property_oid_index, 6474, PropgraphPropertyObjectIndexId, pg_propgraph_property, btree(oid oid_ops)); DECLARE_UNIQUE_INDEX(pg_propgraph_property_name_index, 6475, PropgraphPropertyNameIndexId, pg_propgraph_property, btree(pgppgid oid_ops, pgpname name_ops)); MAKE_SYSCACHE(PROPGRAPHPROPOID, pg_propgraph_property_oid_index, 128); MAKE_SYSCACHE(PROPGRAPHPROPNAME, pg_propgraph_property_name_index, 128); #endif /* PG_PROPGRAPH_PROPERTY_H */