Description
Comments in Cypher block using /* comment like this */ are ignored as expected
but --comments like these
cause ERROR. See examples below
This works as expected
select * from cypher('agc_graph',$$
return 'hello' /* ignore this comment */
$$) as (hi agtype);
hi
---------
"hello"
(1 row)
This does not work as expected
postgres=#
select * from cypher('agc_graph',$$
return 'hello' – ignore this comment
$$) as (hi agtype);
ERROR: syntax error at or near "this"
LINE 2: return 'hello' – ignore this comment