]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Fix typo in error message
authorPeter Eisentraut <peter@eisentraut.org>
Thu, 7 May 2026 08:36:59 +0000 (10:36 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Thu, 7 May 2026 08:36:59 +0000 (10:36 +0200)
Author: Ayush Tiwari <ayushtiwari.slg01@gmail.com>
Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/CAJTYsWXFy1j_T82%2BM_S9kFxU414tQYnZQD-b82%3DoL_LbG_5fPQ%40mail.gmail.com

src/backend/commands/propgraphcmds.c
src/test/regress/expected/create_property_graph.out

index 48284b84db9137416472101af77762ef38d2bf16..cc516e270203c858f868be4d289531366fc8a86d 100644 (file)
@@ -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)));
 }
 
 /*
index 4fc4759f18e71d430cdcbb655a890fde343bcfe3..f625524abcebee03d3f6882b7345729e38d9b4f0 100644 (file)
@@ -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;