graph_db
A PostgreSQL extension for graph-database usage
graph_db · A PostgreSQL extension for graph-database usage
Overview
Usage
Sources:
- Official upstream README
- Official extension control file (graph_db.control)
- Official extension SQL (graph_db–1.0.sql)
graph_db — A PostgreSQL extension for graph-database usage. Use it when an application needs this specific database capability. Use the pinned upstream revision linked above as the API boundary and test it on the target PostgreSQL build.
Core Workflow
Install the extension in the intended database, run the smallest upstream example above when available, and verify the installed version and returned values before integrating it into application SQL.
Important Objects
cypher(cstring, cstring)is an extension function and returnscstring.graph_node_in(cstring)is an extension function and returnsgraph_node.graph_node_out(graph_node)is an extension function and returnscstring.graph_nodes()is an extension function and returnsgraph_node.key_value(cstring, cstring)is an extension function and returnscstring.graph_nodeis an extension-defined type.
Requirements and Caveats
- The reviewed control file declares default version
1.0. - The control file marks the extension as non-relocatable.
- Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.