kysmou opened a new issue #57:
URL: https://github.com/apache/incubator-age/issues/57
In order to connect to the database, the following syntax was executed to
execute the cypher syntax by default.
alter database testdb set search_path to ag_catalog, "$user", public;
After that, if you access the database and execute the cypher query, the
following error occurs.
1. alter database testdb set search_path to ag_catalog, "$user", public;
2. \q
3. psql testdb -p 5400
4.
testdb=# SELECT *
testdb-# FROM cypher('graph_name', $$
testdb$# match(a:Person)
testdb$# RETURN a
testdb$# $$) as (a agtype);
ERROR: unhandled cypher(cstring) function call
5. try again -> normal execute
testdb=# SELECT *
testdb-# FROM cypher('graph_name', $$
testdb$# match(a:Person)
testdb$# RETURN a
testdb$# $$) as (a agtype);
a
-----------------------------------------------------------------------------------------------------
{"id": 844424930131970, "label": "Person", "properties": {"name":
"Andres"}}::vertex
{"id": 844424930131971, "label": "Person", "properties": {"name":
"John"}}::vertex
{"id": 844424930131973, "label": "Person", "properties": {}}::vertex
{"id": 844424930131974, "label": "Person", "properties": {}}::vertex
{"id": 844424930131972, "label": "Person", "properties": {"a": "c", "id":
1, "title": "1"}}::vertex
(5 rows)
Is there a problem or am I missing something?
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]