You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@age.apache.org by "mohayu22 (via GitHub)" <gi...@apache.org> on 2023/02/25 09:45:03 UTC

[GitHub] [age] mohayu22 opened a new issue, #718: The Cypher function terminated the connection due to missing query argument

mohayu22 opened a new issue, #718:
URL: https://github.com/apache/age/issues/718

   **Bug Description:**
   I ran a query on my graph using the following code:
   `SELECT * FROM cypher('demo_graph') as (v agtype);`
   
   However, I forgot to include the query argument for the Cypher function. As a result, the server closed the connection unexpectedly, and I received the error message.
   ```
   server closed the connection unexpectedly
           This probably means the server terminated abnormally
           before or while processing the request.
   The connection to the server was lost. Attempting reset: Failed.
   ```
   **Expected Result:**
   I was expecting an exception to be raised (throw an Error)  instead of the connection being terminated.
   
   **Setup:**
   Command Line: start postgres with pg_ctl --> connect to database with psql
   
   **Environment:**
   PostgreSQL v11.18 | Latest Apache Age | Ubuntu 20.04.5 LTS


-- 
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-unsubscribe@age.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [age] jrgemignani commented on issue #718: The cypher function terminated the connection due to missing query argument

Posted by "jrgemignani (via GitHub)" <gi...@apache.org>.
jrgemignani commented on issue #718:
URL: https://github.com/apache/age/issues/718#issuecomment-1450523107

   @mohayu22 Thank you for catching this. It appears that when I added in some code for driver integration, an edge case was overlooked. I will correct it.


-- 
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-unsubscribe@age.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [age] jrgemignani commented on issue #718: The cypher function terminated the connection due to missing query argument

Posted by "jrgemignani (via GitHub)" <gi...@apache.org>.
jrgemignani commented on issue #718:
URL: https://github.com/apache/age/issues/718#issuecomment-1450683990

   @mohayu22 The master has been updated with a fix for this issue.


-- 
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-unsubscribe@age.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [age] mohayu22 closed issue #718: The cypher function terminated the connection due to missing query argument

Posted by "mohayu22 (via GitHub)" <gi...@apache.org>.
mohayu22 closed issue #718: The cypher function terminated the connection due to missing query argument
URL: https://github.com/apache/age/issues/718


-- 
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-unsubscribe@age.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org