age icon indicating copy to clipboard operation
age copied to clipboard

Cypher randomUUID() function implemented PG13

Open Allison-E opened this issue 1 year ago • 1 comments

  • Works the same way as the cypher randomUUID() function.
  • Works only on PostgreSQL 13 or higher since the gen_random_uuid() function in PostgreSQL was introduced in version 13.
  • Added regression tests for it.

Allison-E avatar Jul 22 '23 16:07 Allison-E

@Allison-E

randomUUID is not in open cypher spec.

Also, it can be done like this-

(pg-15.4) agedev=# SELECT * from cypher('graph', $$
    RETURN pg_catalog.gen_random_uuid()    
$$) as (result text);
                result                
--------------------------------------
 1d99c524-5746-400c-a94f-c5f89840b2b1

rafsun42 avatar Oct 23 '23 19:10 rafsun42

This PR is stale because it has been open 45 days with no activity. Remove "Abondoned" label or comment or this will be closed in 7 days.

github-actions[bot] avatar May 11 '24 00:05 github-actions[bot]