diff --git a/src/backend/commands/label_commands.c b/src/backend/commands/label_commands.c index c8ea7738e..8542c41c8 100644 --- a/src/backend/commands/label_commands.c +++ b/src/backend/commands/label_commands.c @@ -265,12 +265,6 @@ void create_label(char *graph_name, char *label_name, char label_type, errmsg("label name is invalid"))); } - if (!is_valid_label(label_name, label_type)) - { - ereport(ERROR, (errcode(ERRCODE_UNDEFINED_SCHEMA), - errmsg("label name is invalid"))); - } - cache_data = search_graph_name_cache(graph_name); if (!cache_data) {