Reject consecutive element patterns of same kind
Peter Eisentraut <peter@eisentraut.org>
Author:
Peter Eisentraut <peter@eisentraut.org>
Date: 2026-03-27T09:31:53Z
Releases:
19 (unreleased)
Reject consecutive element patterns of same kind Adding an implicit empty vertex pattern when a path pattern starts or ends with an edge pattern or when two consecutive edge patterns appear in the pattern is not supported right now. Prohibit such path patterns. Author: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com> Reported-by: Alexander Lakhin <exclusion@gmail.com> Reviewed-by: Henson Choi <assam258@gmail.com> Discussion: https://www.postgresql.org/message-id/flat/72a23702-6d96-4103-a54b-057c2352e885%2540eisentraut.org
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/parser/parse_graphtable.c | modified | +43 −5 |
| src/backend/rewrite/rewriteGraphTable.c | modified | +10 −0 |
| src/test/regress/expected/graph_table.out | modified | +19 −0 |
| src/test/regress/sql/graph_table.sql | modified | +6 −0 |
Discussion
Cited messages not in the archive:
72a23702-6d96-4103-a54b-057c2352e885%40eisentraut.org