markgomer opened a new issue, #866:
URL: https://github.com/apache/age/issues/866

   **Describe the bug**
   When called more than once, the created complete graphs doesn't connect as a 
Barbell graph, according to the following figure:
   
   
![image](https://user-images.githubusercontent.com/57829631/234885950-bc6e8e4d-1eab-4f0e-ba10-8537f402cf75.png)
   
   **How are you accessing AGE (Command line, driver, etc.)?**
   - Accessing AGE through `psql` interface and age-viewer.
   
   
   **What is the command that caused the error?**
   
   Just calling the function twice exposes the bug:
   
   ```pgsql
   SELECT age_create_barbell_graph('barbell',5,0,'vlabel','{}','elabel','{}');
   SELECT age_create_barbell_graph('barbell',7,0,'vlabel','{}','elabel','{}');
   ```
   
   **Expected behavior**
   Each call of the function should create two complete graphs connected with a 
bridge between them. [For 
reference](https://en.wikipedia.org/wiki/Barbell_graph).
   
   **Environment:**
   - Version: [PostgreSQL 11.19] [Apache AGE 1.2.0] 


-- 
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.apache.org

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

Reply via email to