# AgensGraph 2.18 Released: Graph Database on PostgreSQL 18 with Expanded ISO GQL Support

DevFeed: [AgensGraph 2.18 Released: Graph Database on PostgreSQL 18 with Expanded ISO GQL Support](<https://devfeed.tech/articles/agensgraph-2-18-released-graph-database-on-postgresql-18-with-expanded-iso-gql-support-122263.md>)

Original publisher: [Read original article](<https://www.postgresql.org/about/news/agensgraph-218-released-graph-database-on-postgresql-18-with-expanded-iso-gql-support-3437/>)

Author: SKAI Worldwide

Published: 2026-11-07T00:00:00Z

Content type: release

Language: en

Sources: [PostgreSQL news](<https://devfeed.tech/sources/postgresql-news.md>)

Topics: [graph-database](<https://devfeed.tech/topics/graph-database.md>), [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [SQL](<https://devfeed.tech/topics/sql.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [17](<https://devfeed.tech/tags/17.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [b-tree](<https://devfeed.tech/tags/b-tree.md>), [call](<https://devfeed.tech/tags/call.md>), [collect](<https://devfeed.tech/tags/collect.md>), [count](<https://devfeed.tech/tags/count.md>), [cypher](<https://devfeed.tech/tags/cypher.md>), [database](<https://devfeed.tech/tags/database.md>), [delete](<https://devfeed.tech/tags/delete.md>), [exists](<https://devfeed.tech/tags/exists.md>), [filter](<https://devfeed.tech/tags/filter.md>), [gql](<https://devfeed.tech/tags/gql.md>), [graph](<https://devfeed.tech/tags/graph.md>), [graph-database](<https://devfeed.tech/tags/graph-database.md>), [index](<https://devfeed.tech/tags/index.md>), [insert](<https://devfeed.tech/tags/insert.md>), [iso](<https://devfeed.tech/tags/iso.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [postgresql-18](<https://devfeed.tech/tags/postgresql-18.md>), [support](<https://devfeed.tech/tags/support.md>)

## AI overview

AgensGraph 2.18.6.1 adds an initial set of ISO GQL clauses alongside openCypher and changes variable-length traversals to use the edge label's index at each hop. In the team's test on the 30-million-edge soc-Pokec graph, a two-hop query that took over 20 seconds without finishing on 2.17 completed in milliseconds on 2.18. The release also adds graph subqueries and PostgreSQL function calls via CALL ... YIELD. It is based on PostgreSQL 18.6 and includes typed property columns and security changes for Cypher writes and fixed-length patterns. A 2.17 data directory cannot be used directly: upgrade with pg_upgrade or dump and restore using 2.18's pg_dump. The supplied text is partial, so it does not support a complete account of all release features.

## Source excerpt

The AgensGraph Development Team is pleased to announce the release of AgensGraph v2.18.6.1, the latest version in the 2.18 series. AgensGraph is an open-source graph database, built on PostgreSQL 18.6, that runs SQL and graph queries over the same data, in the same transaction and even in the same statement. AgensGraph 2.18 is a major step toward the ISO GQL standard (ISO/IEC 39075), the international standard query language for property graphs. We are committed to bringing AgensGraph in line with GQL: 2.18 adds the first set of GQL clauses alongside openCypher, and more will follow in upcoming releases. Performance was the other focus of this release. Variable-length traversals now use the edge label's index at each hop, whereas 2.17 scanned the entire label at every hop. On the public soc-Pokec graph (30 million edges), a two-hop traversal that did not finish within 20 seconds in our tests on 2.17 now completes in milliseconds. Highlights GQL clauses: LET, FOR, FILTER, NEXT, FINISH and INSERT, plus standalone ORDER BY, OFFSET and LIMIT clauses. Graph subqueries: CALL { }, OPTIONAL CALL, EXISTS { }, COUNT { }, COLLECT { } and VALUE { }, plus CALL ... YIELD to invoke PostgreSQL functions from Cypher. Based on PostgreSQL 18.6: asynchronous I/O, uuidv7(), virtual generated columns, OAuth authentication, B-tree skip scan and all PostgreSQL fixes through 18.6. Faster graph queries: variable-length traversals, pattern matching, label scans, EXISTS subqueries, path functions, sorting, grouping and counting of vertices and edges, ordering by vector distance, and the SET and DELETE clauses. Typed property columns: frequently queried properties can be stored as native typed columns and indexed like any other PostgreSQL column for faster filtering and sorting. Security: Cypher writes now enforce row-level security policies, and fixed-length patterns also enforce row-level security and privileges on labels they match without naming them. AI and Python agensgraph-python 2.1: a