PostgreSQL 19 graph queries fail the ‘would you ship this?’ test
PostgreSQL developers have dropped planned graph query support from the upcoming version 19 release, citing unresolved bugs that could cause problems after launch. The feature, SQL Property Graph Queries (SQL/PGQ), added to the SQL standard in 2023, would have let users explore relationships between connected data nodes, but the community decided further work was needed before it could ship safely.
Longtime contributor Tom Lane warned that shipping the feature now risked post-release bugs that couldn't be fixed until version 20, while EDB's Tom Kincaid confirmed PGQ's removal, saying the community wanted "to work through a few more things" first. PostgreSQL 19's release date remains unconfirmed, with a fourth beta due on 24 September. The version does bring one welcome change for administrators: a new REPACK command with a CONCURRENTLY option, which reclaims disk space without the prolonged exclusive table lock imposed by VACUUM FULL, reducing the disruptive "middle-of-the-night calls" Kincaid says such lockouts have historically caused.
- PostgreSQL 19 drops graph query feature (SQL/PGQ) over unresolved bugs
- Developers feared unfixable post-release issues until version 20
- New REPACK CONCURRENTLY option avoids long table locks during cleanup