jrgemignani commented on issue #2243:
URL: https://github.com/apache/age/issues/2243#issuecomment-3524036803

   @konradziczek I am not able to reproduce your previous results in PG16 
1.5.0. 
   
   In both versions the same pathway is called. The actual conversion of the 
integer **id** is done by a PG function called **int8out**. The code for the 
AGE part has not been modified since 2020. That being said, the results don't 
appear to be correct. I will look into this further.
   
   ```
   psql-16.2-5432-pgsql=# \dx
                    List of installed extensions
     Name   | Version |   Schema   |         Description
   ---------+---------+------------+------------------------------
    age     | 1.5.0   | ag_catalog | AGE database extension
    plpgsql | 1.0     | pg_catalog | PL/pgSQL procedural language
   (2 rows)
   
   psql-16.2-5432-pgsql=# select * from cypher('issue_2243', $$ CREATE 
(n30164502:Node {data_id: 30164502}) RETURN id(n30164502) + ':test_n' + 
n30164502.data_id $$ ) as (result agtype);
       result
   --------------
    "1:test_n22"
   (1 row)
   
   psql-16.2-5432-pgsql=# select * from cypher('issue_2243', $$ CREATE 
(n30164502:Node {data_id: 30164502}) RETURN id(n30164502) + ':test_n' + 
n30164502.data_id $$ ) as (result agtype);
       result
   --------------
    "2:test_n22"
   (1 row)
   
   psql-16.2-5432-pgsql=# select * from cypher('issue_2243', $$ match (u) 
return id(u) + ":test_n" + u.data_id $$ ) as (result agtype)
   
       result
   --------------
    "1:test_n22"
    "2:test_n22"
   (2 rows)
   ```
   
   


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