~/talk

Exploring property graphs with SQL/PGQ in PostgreSQL

Talkat POSETTE: An Event for Postgres 2026 · 2026-06-16..06-18· [databases]
slides:none on file

Shows how PostgreSQL 19 committed basic SQL/PGQ to overlay a property graph on relational tables using a Ticket to Ride schema, mapping cities/countries to vertex tables and routes to edge tables, then querying with GRAPH_TABLE and MATCH patterns. Explains transformation of patterns into element tables and unions of joins, notes label disjunction causes exponential SQL growth, distinguishes implemented features (labels, MATCH, aggregates across paths) from under‑design variable‑length acyclic checks and a proposed patch for multiple path patterns.

AI-written summary · about

  1. 0:00Music & introduction
  2. 2:11Building relational schema using a Ticket to Ride example
  3. 5:19Creating property graphs in PostgreSQL
  4. 6:57Vertex, edge tables, & labels explained
  5. 9:49PostgreSQL features color coding
  6. 10:28Writing graph queries with MATCH: vertex and edge patterns
  7. 14:14How graph queries become SQL
  8. 17:14Additional features: label disjunction, variable length paths, & aggregates
  9. 22:00Multiple path patterns
  10. 23:25Quiz: write your own query
  11. 24:07Limitations of SQL/PGQ & Apache/AGE extension
  12. 26:13Quiz answer & wrap up
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.