pg_edge_table_components #
The view pg_edge_table_components identifies which
columns are part of the source or destination vertex keys, as well as their
corresponding columns in the vertex tables being linked to, in the edge
tables of property graphs defined in the current database. Only those
property graphs are shown that the current user has access to (by way of
being the owner or having some privilege).
The source and destination vertex links of edge tables are specified in
CREATE PROPERTY GRAPH and default to foreign keys in
certain cases.
Table 35.32. pg_edge_table_components Columns
Column Type Description |
|---|
Name of the database that contains the property graph (always the current database) |
Name of the schema that contains the property graph |
Name of the property graph |
The element table alias of the edge table being described |
The element table alias of the source or destination vertex table being linked to |
Either |
Name of the column that is part of the source or destination vertex key in this edge table |
Name of the column that is part of the key in the source or destination vertex table being linked to |
Ordinal position of the columns within the key (count starts at 1) |