From 743e434098d8a466e63b244bd84762d7f9420905 Mon Sep 17 00:00:00 2001 From: John Berzy Date: Mon, 8 Apr 2024 15:34:39 -0700 Subject: [PATCH] remove duplicate check for label validity --- src/backend/commands/label_commands.c | 6 ------ 1 file changed, 6 deletions(-) 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) {