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

   Like @rafsun42 stated, no crash with psql - 
   
   ```
   psql-15.4-5432-pgsql=# drop extension age cascade; create extension age; 
load 'age'; set search_path TO ag_catalog;
   ERROR:  extension "age" does not exist
   CREATE EXTENSION
   LOAD
   SET
   psql-15.4-5432-pgsql=#
   psql-15.4-5432-pgsql=# select * from create_graph('graph1');
   NOTICE:  graph "graph1" has been created
    create_graph
   --------------
   
   (1 row)
   
   psql-15.4-5432-pgsql=# select * from create_graph('graph2');
   NOTICE:  graph "graph2" has been created
    create_graph
   --------------
   
   (1 row)
   
   psql-15.4-5432-pgsql=#
   psql-15.4-5432-pgsql=# select * from create_vlabel('graph1', 
'label_exclusive_to_graph1');
   NOTICE:  VLabel "label_exclusive_to_graph1" has been created
    create_vlabel
   ---------------
   
   (1 row)
   
   psql-15.4-5432-pgsql=# select * from create_vlabel('graph2', 
'label_exclusive_to_graph2');
   NOTICE:  VLabel "label_exclusive_to_graph2" has been created
    create_vlabel
   ---------------
   
   (1 row)
   
   psql-15.4-5432-pgsql=#
   psql-15.4-5432-pgsql=# select * from cypher('graph2', $$CREATE 
(a:label_exclusive_to_graph1 {name:'a'}) $$) as (a agtype);
    a
   ---
   (0 rows)
   
   psql-15.4-5432-pgsql=# select * from cypher('graph1', $$CREATE 
(a:label_exclusive_to_graph2 {name:'a'}) $$) as (a agtype);
    a
   ---
   (0 rows)
   
   psql-15.4-5432-pgsql=# drop schema graph2 cascade;
   NOTICE:  drop cascades to 5 other objects
   DETAIL:  drop cascades to sequence graph2._label_id_seq
   drop cascades to table graph2._ag_label_vertex
   drop cascades to table graph2._ag_label_edge
   drop cascades to table graph2.label_exclusive_to_graph2
   drop cascades to table graph2.label_exclusive_to_graph1
   ERROR:  table "label_exclusive_to_graph1" is for label 
"label_exclusive_to_graph1"
   psql-15.4-5432-pgsql=# drop schema graph1 cascade;
   NOTICE:  drop cascades to 5 other objects
   DETAIL:  drop cascades to sequence graph1._label_id_seq
   drop cascades to table graph1._ag_label_vertex
   drop cascades to table graph1._ag_label_edge
   drop cascades to table graph1.label_exclusive_to_graph1
   drop cascades to table graph1.label_exclusive_to_graph2
   ERROR:  table "label_exclusive_to_graph2" is for label 
"label_exclusive_to_graph2"
   psql-15.4-5432-pgsql=#
   ``` 


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

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

Reply via email to