postgresql/src
Peter Eisentraut 2f094e7ac6 SQL Property Graph Queries (SQL/PGQ)
Implementation of SQL property graph queries, according to SQL/PGQ
standard (ISO/IEC 9075-16:2023).

This adds:

- GRAPH_TABLE table function for graph pattern matching
- DDL commands CREATE/ALTER/DROP PROPERTY GRAPH
- several new system catalogs and information schema views
- psql \dG command
- pg_get_propgraphdef() function for pg_dump and psql

A property graph is a relation with a new relkind RELKIND_PROPGRAPH.
It acts like a view in many ways.  It is rewritten to a standard
relational query in the rewriter.  Access privileges act similar to a
security invoker view.  (The security definer variant is not currently
implemented.)

Starting documentation can be found in doc/src/sgml/ddl.sgml and
doc/src/sgml/queries.sgml.

Author: Peter Eisentraut <peter@eisentraut.org>
Author: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Reviewed-by: Junwang Zhao <zhjwpku@gmail.com>
Reviewed-by: Ajay Pal <ajay.pal.k@gmail.com>
Reviewed-by: Henson Choi <assam258@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/a855795d-e697-4fa5-8698-d20122126567@eisentraut.org
2026-03-16 10:14:18 +01:00
..
backend SQL Property Graph Queries (SQL/PGQ) 2026-03-16 10:14:18 +01:00
bin SQL Property Graph Queries (SQL/PGQ) 2026-03-16 10:14:18 +01:00
common Don't include wait_event.h in pgstat.h 2026-03-06 16:24:58 +01:00
fe_utils SQL Property Graph Queries (SQL/PGQ) 2026-03-16 10:14:18 +01:00
include SQL Property Graph Queries (SQL/PGQ) 2026-03-16 10:14:18 +01:00
interfaces SQL Property Graph Queries (SQL/PGQ) 2026-03-16 10:14:18 +01:00
makefiles Restore AIX support. 2026-02-23 13:34:22 -05:00
pl Add all required calls to TupleDescFinalize() 2026-03-16 11:45:49 +13:00
port Check for memset_explicit() and explicit_memset() 2026-03-02 07:51:19 +01:00
template Switch the semaphore API on Solaris to unnamed POSIX. 2026-03-14 14:10:32 -04:00
test SQL Property Graph Queries (SQL/PGQ) 2026-03-16 10:14:18 +01:00
timezone Use fallthrough attribute instead of comment 2026-02-19 08:51:12 +01:00
tools SQL Property Graph Queries (SQL/PGQ) 2026-03-16 10:14:18 +01:00
tutorial Force standard_conforming_strings to always be ON. 2026-01-21 15:08:38 -05:00
.gitignore
DEVELOPERS
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
Makefile.global.in tests: Add a test C++ extension module 2026-01-20 16:42:30 +01:00
Makefile.shlib Restore AIX support. 2026-02-23 13:34:22 -05:00
meson.build Update copyright for 2026 2026-01-01 13:24:10 -05:00
nls-global.mk Fix update-po for the PGXS case 2025-10-16 20:21:05 +02:00