Skip to content

Commit 2af4351

Browse files
committed
Remove duplicate check
This commit removes [a benign] redundant check for label validity
1 parent 00e0c58 commit 2af4351

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
@@ -265,12 +265,6 @@ void create_label(char *graph_name, char *label_name, char label_type,
265265
errmsg("label name is invalid")));
266266
}
267267

268-
if (!is_valid_label(label_name, label_type))
269-
{
270-
ereport(ERROR, (errcode(ERRCODE_UNDEFINED_SCHEMA),
271-
errmsg("label name is invalid")));
272-
}
273-
274268
cache_data = search_graph_name_cache(graph_name);
275269
if (!cache_data)
276270
{

0 commit comments

Comments
 (0)