YGY-001 opened a new issue, #2534:
URL: https://github.com/apache/age/issues/2534

   Docker image `apache/age:release_PG18_1.7.0
   
   **Reproduction**
   
   ```sql
   LOAD 'age';
   SET search_path = ag_catalog, public;
   SELECT ag_catalog.create_graph('age_issue_case8_reduced');
   
   SELECT *
   FROM ag_catalog.cypher('age_issue_case8_reduced', $$
   UNWIND [] AS x
   MERGE (n)
   WITH x, head(range(9, 23)) AS y
   WHERE y IS NULL
   RETURN {x: x, y: y} AS row
   $$) AS (row agtype);
   ```
   
   **Expected**
   
   The empty input produces zero rows. The query completes normally, returns
   zero rows, and does not create a vertex or terminate the PostgreSQL backend.
   
   **Actual**
   
   ```text
   server closed the connection unexpectedly
   client backend ... was terminated by signal 11: Segmentation fault


-- 
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