jrgemignani opened a new pull request, #2266:
URL: https://github.com/apache/age/pull/2266

   Adjusted the following type of error message. It was mentioned in issue 2263 
as being incorrect, which it isn't. However, it did need some clarification 
added -
   
       ERROR:  could not find rte for <column name>
   
   Added a HINT for additional clarity -
   
       HINT:  variable <column name> does not exist within scope of usage
   
   For example:
   
       CREATE p0=(n0), (n1{k:EXISTS{WITH p0}}) RETURN 1
   
       ERROR:  could not find rte for p0
       LINE 3:     CREATE p0=(n0), (n1{k:EXISTS{WITH p0}})
                                                 ^
       HINT:  variable p0 does not exist within scope of usage
   
   Additionally, added pstate->p_expr_kind == EXPR_KIND_INSERT_TARGET to 
transform_cypher_clause_as_subquery.
   
   Updated regression existing regression tests.
   
   modified:   regress/expected/cypher_call.out
   modified:   regress/expected/cypher_subquery.out
   modified:   regress/expected/cypher_union.out
   modified:   regress/expected/cypher_with.out
   modified:   regress/expected/expr.out
   modified:   regress/expected/list_comprehension.out
   modified:   regress/expected/scan.out
   modified:   src/backend/parser/cypher_clause.c
   modified:   src/backend/parser/cypher_expr.c


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to