Decided to keep supporting PGQL 0.9 and PGQL 1.0 after all and only desupport these two features:
get rid of vertex patterns that have no parentheses, which was a feature that was part of the PGQL 0.9 spec WHERE n -> m, n.prop > m.prop.
give a nice error message when --, <-- and --> is used in PGQL 0.9 or PGQL 1.0 just like we already do for PGQL 1.1+. This because we want to repurpose the -- to introduce a single-line comment and to be able to implement that we need to remove it from all PGQL versions.
This PR is also fixing two unrelated bugs:
fix regression: x.* in combination with ONE ROW PER VERTEX/STEP was broken (when variable x is one of the iterator variables)
fix bug: LATERAL containing INSERT/UPDATE/DELETE would crash the parser and now it's giving a nicer error message
Decided to keep supporting PGQL 0.9 and PGQL 1.0 after all and only desupport these two features:
WHERE n -> m, n.prop > m.prop
.--
,<--
and-->
is used in PGQL 0.9 or PGQL 1.0 just like we already do for PGQL 1.1+. This because we want to repurpose the--
to introduce a single-line comment and to be able to implement that we need to remove it from all PGQL versions.This PR is also fixing two unrelated bugs:
x
is one of the iterator variables)PGQL parser version 2.0.6.x