MuhammadTahaNaveed commented on PR #2082:
URL: https://github.com/apache/age/pull/2082#issuecomment-2321510968

   @rafsun42 The second CREATE command has AB and C as labels but the relation 
for AB and _agr_AB_C was not created.
   ```
   multi-label-PR-review=# CREATE EXTENSION age;
   CREATE EXTENSION
   multi-label-PR-review=# SET search_path=ag_catalog;
   SET
   multi-label-PR-review=# SELECT create_graph('graph');
   NOTICE:  graph "graph" has been created
    create_graph 
   --------------
    
   (1 row)
   
   multi-label-PR-review=# SELECT * FROM cypher('graph', $$CREATE (x:A:B:C)$$) 
as (a agtype);
    a 
   ---
   (0 rows)
   
   multi-label-PR-review=# \dt+ graph.*
                                               List of relations
    Schema |       Name       | Type  |   Owner    | Persistence | Access 
method |    Size    | Description 
   
--------+------------------+-------+------------+-------------+---------------+------------+-------------
    graph  | A                | table | taha-linux | permanent   | heap         
 | 8192 bytes | 
    graph  | B                | table | taha-linux | permanent   | heap         
 | 8192 bytes | 
    graph  | C                | table | taha-linux | permanent   | heap         
 | 8192 bytes | 
    graph  | _ag_label_edge   | table | taha-linux | permanent   | heap         
 | 8192 bytes | 
    graph  | _ag_label_vertex | table | taha-linux | permanent   | heap         
 | 8192 bytes | 
    graph  | _agr_ABC         | table | taha-linux | permanent   | heap         
 | 16 kB      | 
   (6 rows)
   
   multi-label-PR-review=# SELECT * FROM cypher('graph', $$CREATE (x:AB:C)$$) 
as (a agtype);
    a 
   ---
   (0 rows)
   
   multi-label-PR-review=# \dt+ graph.*
                                               List of relations
    Schema |       Name       | Type  |   Owner    | Persistence | Access 
method |    Size    | Description 
   
--------+------------------+-------+------------+-------------+---------------+------------+-------------
    graph  | A                | table | taha-linux | permanent   | heap         
 | 8192 bytes | 
    graph  | B                | table | taha-linux | permanent   | heap         
 | 8192 bytes | 
    graph  | C                | table | taha-linux | permanent   | heap         
 | 8192 bytes | 
    graph  | _ag_label_edge   | table | taha-linux | permanent   | heap         
 | 8192 bytes | 
    graph  | _ag_label_vertex | table | taha-linux | permanent   | heap         
 | 8192 bytes | 
    graph  | _agr_ABC         | table | taha-linux | permanent   | heap         
 | 16 kB      | 
   (6 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