Skip to content

Commit 29a352f

Browse files
jrgemignanijberzy
andauthored
Remove duplicate check (#1740) (#1834)
This commit removes [a benign] redundant check for label validity Co-authored-by: jberzy <[email protected]>
1 parent ad8e12b commit 29a352f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/backend/commands/label_commands.c

-6
Original file line numberDiff line numberDiff line change
@@ -279,12 +279,6 @@ void create_label(char *graph_name, char *label_name, char label_type,
279279
errmsg("label name is invalid")));
280280
}
281281

282-
if (!is_valid_label(label_name, label_type))
283-
{
284-
ereport(ERROR, (errcode(ERRCODE_UNDEFINED_SCHEMA),
285-
errmsg("label name is invalid")));
286-
}
287-
288282
cache_data = search_graph_name_cache(graph_name);
289283
if (!cache_data)
290284
{

0 commit comments

Comments
 (0)