jrgemignani opened a new issue, #979: URL: https://github.com/apache/age/issues/979
**Describe the bug** The MERGE command doesn't see a valid case of variable reuse for a vertex. **How are you accessing AGE (Command line, driver, etc.)?** psql command line **What data setup do we need to do?** Setup shouldn't matter. However, this was done on an empty graph database. **What is the necessary configuration info needed?** AGE **What is the command that caused the error?** The following command fails, but the second 'x' should be seen as a valid reuse of 'x'. This command works successfully on Neo4j. ``` psql-11.5-5432-pgsql=# SELECT * FROM cypher('test', $$ MERGE (x:C)-[:A]->(x) RETURN x $$) as (r agtype); ERROR: multiple labels for variable 'x' are not supported LINE 1: ...ELECT * FROM cypher('test', $$ MERGE (x:C)-[:A]->(x) RETURN ... ^ psql-11.5-5432-pgsql=# ``` **Expected behavior** It should create a vertex with a self loop. **Environment (please complete the following information):** current master branch **Additional context** None. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@age.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org