diff --git a/src/backend/commands/propgraphcmds.c b/src/backend/commands/propgraphcmds.c index 48284b84db9..cc516e27020 100644 --- a/src/backend/commands/propgraphcmds.c +++ b/src/backend/commands/propgraphcmds.c @@ -1266,7 +1266,7 @@ check_element_label_properties(Oid ellabeloid) if (diff1 || diff2) ereport(ERROR, errcode(ERRCODE_INVALID_OBJECT_DEFINITION), - errmsg("mismatching properties names in definition of label \"%s\"", get_propgraph_label_name(labelid))); + errmsg("mismatching property names in definition of label \"%s\"", get_propgraph_label_name(labelid))); } /* diff --git a/src/test/regress/expected/create_property_graph.out b/src/test/regress/expected/create_property_graph.out index 4fc4759f18e..f625524abce 100644 --- a/src/test/regress/expected/create_property_graph.out +++ b/src/test/regress/expected/create_property_graph.out @@ -210,11 +210,11 @@ CREATE PROPERTY GRAPH gx t1 KEY (a) LABEL l1 PROPERTIES (a, b), t2 KEY (i) LABEL l1 PROPERTIES (i AS a, j AS j) -- mismatching property names on label ); -ERROR: mismatching properties names in definition of label "l1" +ERROR: mismatching property names in definition of label "l1" ALTER PROPERTY GRAPH g4 ALTER VERTEX TABLE t1 ADD LABEL t3l1 PROPERTIES (a AS x, b AS yy, b AS zz); -- mismatching number of properties on label ERROR: mismatching number of properties in definition of label "t3l1" ALTER PROPERTY GRAPH g4 ALTER VERTEX TABLE t1 ADD LABEL t3l1 PROPERTIES (a AS x, b AS zz); -- mismatching property names on label -ERROR: mismatching properties names in definition of label "t3l1" +ERROR: mismatching property names in definition of label "t3l1" ALTER PROPERTY GRAPH g4 ALTER VERTEX TABLE t1 ADD LABEL t3l1 PROPERTIES (a AS x); -- mismatching number of properties on label ERROR: mismatching number of properties in definition of label "t3l1" ALTER PROPERTY GRAPH g1 OWNER TO regress_graph_user1;