PostgreSQL Source Code git master
Loading...
Searching...
No Matches
pg_propgraph_element.h File Reference
#include "catalog/genbki.h"
#include "catalog/pg_propgraph_element_d.h"
Include dependency graph for pg_propgraph_element.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

BEGIN_CATALOG_STRUCT CATALOG (pg_propgraph_element, 8299, PropgraphElementRelationId)
 
 DECLARE_TOAST (pg_propgraph_element, 8315, 8316)
 
 DECLARE_UNIQUE_INDEX_PKEY (pg_propgraph_element_oid_index, 8300, PropgraphElementObjectIndexId, pg_propgraph_element, btree(oid oid_ops))
 
 DECLARE_UNIQUE_INDEX (pg_propgraph_element_alias_index, 8301, PropgraphElementAliasIndexId, pg_propgraph_element, btree(pgepgid oid_ops, pgealias name_ops))
 
 MAKE_SYSCACHE (PROPGRAPHELOID, pg_propgraph_element_oid_index, 128)
 
 MAKE_SYSCACHE (PROPGRAPHELALIAS, pg_propgraph_element_alias_index, 128)
 

Variables

END_CATALOG_STRUCT typedef FormData_pg_propgraph_elementForm_pg_propgraph_element
 
 FormData_pg_propgraph_element
 

Function Documentation

◆ CATALOG()

Definition at line 30 of file pg_propgraph_element.h.

31{
32 Oid oid;
33
34 /* OID of the property graph relation */
36
37 /* OID of the element table */
39
40 /* element alias */
42
43 /* vertex or edge? -- see PGEKIND_* below */
44 char pgekind;
45
46 /* for edges: source vertex */
48
49 /* for edges: destination vertex */
51
52#ifdef CATALOG_VARLEN /* variable-length fields start here */
53 /* element key (column numbers in pgerelid relation) */
55
56 /*
57 * for edges: source vertex key (column numbers in pgerelid relation)
58 */
60
61 /*
62 * for edges: source vertex table referenced columns (column numbers in
63 * relation reached via pgesrcvertexid)
64 */
66
67 /*
68 * for edges: Oids of the equality operators for comparing source keys
69 */
70 Oid pgesrceqop[1];
71
72 /*
73 * for edges: destination vertex key (column numbers in pgerelid relation)
74 */
76
77 /*
78 * for edges: destination vertex table referenced columns (column numbers
79 * in relation reached via pgedestvertexid)
80 */
82
83 /*
84 * for edges: Oids of the equality operators for comparing destination
85 * keys
86 */
88#endif
int16_t int16
Definition c.h:610
#define BKI_LOOKUP(catalog)
Definition genbki.h:65
#define BKI_LOOKUP_OPT(catalog)
Definition genbki.h:66
#define BKI_FORCE_NOT_NULL
Definition genbki.h:52
FormData_pg_propgraph_element
unsigned int Oid
static int fb(int x)
Definition c.h:829

References BKI_FORCE_NOT_NULL, BKI_LOOKUP, BKI_LOOKUP_OPT, and fb().

◆ DECLARE_TOAST()

DECLARE_TOAST ( pg_propgraph_element  ,
8315  ,
8316   
)

◆ DECLARE_UNIQUE_INDEX()

◆ DECLARE_UNIQUE_INDEX_PKEY()

DECLARE_UNIQUE_INDEX_PKEY ( pg_propgraph_element_oid_index  ,
8300  ,
PropgraphElementObjectIndexId  ,
pg_propgraph_element  ,
btree(oid oid_ops  
)

◆ MAKE_SYSCACHE() [1/2]

MAKE_SYSCACHE ( PROPGRAPHELALIAS  ,
pg_propgraph_element_alias_index  ,
128   
)

◆ MAKE_SYSCACHE() [2/2]

MAKE_SYSCACHE ( PROPGRAPHELOID  ,
pg_propgraph_element_oid_index  ,
128   
)

Variable Documentation

◆ Form_pg_propgraph_element

◆ FormData_pg_propgraph_element

FormData_pg_propgraph_element

Definition at line 89 of file pg_propgraph_element.h.