PostgreSQL 19 ships property graphs: query relationships on existing tables without joins

arpit_bhayani · x · 2026-09-09

PostgreSQL 19 has shipped first-class property graph support. You can define a graph over existing relational tables (users as vertices, follows as edges) and query it with pattern-matching syntax instead of chained joins — no extensions or migrations needed. The graph is a read-only view, and graph queries can be mixed with regular SQL in one statement. Fits social graphs, fraud detection, data lineage, and dependency graphs. Not as performant as dedicated graph databases yet, but a solid choice for 0-to-1 projects. As ever: just use Postgres.

Original post →

More from Infra

Infra channel →