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 <john.berzy@gmail.com>
1 parent ad8e12b commit 29a352f

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/backend/commands/label_commands.c

Lines changed: 0 additions & 6 deletions
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)