postgresqlapache-age

Why is the ID of the 3 different vertices in the regression tests of apacheAGE the same?


So im reading through the apacheAGE regression tests and specifically this one https://github.com/apache/age/blob/master/regress/expected/age_global_graph.out and I've noticed that the ID returned for each vertex is the same.

As far as i know the databases use different IDs to track the object. Doesn't having the same id for the different vertices cause conflict problems?


Solution

  • Same Id used in in different graph (Have a look at the 'graph_name' : ag_graph_1, ag_graph_2 etc). So it will not cause any conflict.