Details
- Vendor
- PostgreSQL Global Development Group
- Type
- Property Graph
- Category
- Emerging
- License
- PostgreSQL
- Language
- C
- Query Languages
- SQL/PGQ
- Protocols
- PostgreSQL wire
The go-to resource for graph technology details
Native SQL:2023 property graph query support coming to PostgreSQL, exposing graph pattern matching through the GRAPH_TABLE construct over property graphs defined on existing tables. Property graphs are processed like views and executed as standard relational queries by the existing planner.
Protocols PostgreSQL wire
SQL/PGQ (GRAPH_TABLE) is core PostgreSQL SQL syntax executed like any other query over the standard Postgres wire protocol; no separate transport.
The graph query part happens inside the GRAPH_TABLE construct. As far as the rest of the query is concerned, this acts like a table function in that it produces a computed table as output.PostgreSQL: Documentation: devel: 7.9. Graph Queries · reviewed 2026-08-02
License PostgreSQL
Confirms current value. SQL/PGQ is a built-in feature of core PostgreSQL, so it carries the same PostgreSQL License as the rest of the project.
PostgreSQL is released under the PostgreSQL License, a liberal Open Source license, similar to the BSD or MIT licenses.PostgreSQL: License · reviewed 2026-08-02
Released 2026-03
Date the SQL/PGQ patch was committed to PostgreSQL master, not a stable release: the feature is absent from the PostgreSQL 18 release notes and CREATE PROPERTY GRAPH has no page in the current documentation, so it ships in a future major version.
Subject: pgsql: SQL Property Graph Queries (SQL/PGQ) Date: 2026-03-16pgsql-committers: SQL Property Graph Queries (SQL/PGQ) · reviewed 2026-08-02
Language C
Confirms current value.
Although the PostgreSQL backend is written in C, it is possible to write extensions in C++ if these guidelines are followed:PostgreSQL: Documentation: 16: 38.10. C-Language Functions · reviewed 2026-08-02