panosfol commented on issue #1021: URL: https://github.com/apache/age/issues/1021#issuecomment-1652134864
Im in the process of a creating a junction table to hold just the `id` and the `label_id` of a given vertex. The table is created at the creation of the graph under the `<graph_name>` schema. I have successfully created the table with its columns but from what I understand every vertex that is inserted in the graph should also be inserted in the junction table, and Im having a little trouble with the inheritance system. If I understand it correctly the inheritance system is the reason that when a vertex is added to a label table, its also added to the `ag_label_vertex` table. Therefore I believe that the right course of action is for the junction table to have the `ag_label_vertex` table as a parent and then to alter the table through the postgres API to remove the unnecessary columns. The problem with that is that I dont have access to the `ag_label_vertex` table at the creation of the graph, so I can pass it as a list for the `parents` argument to the function that creates the junction table. Is this the correct way to tackle this? How should i proceed? -- 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]
