jrgemignani commented on code in PR #1989:
URL: https://github.com/apache/age/pull/1989#discussion_r1697339978
##########
src/backend/utils/name_validation.c:
##########
@@ -55,12 +55,16 @@ int is_valid_graph_name(const char *graph_name)
* @param label_type label type defined in label_commands.h
* @return int
*/
-int is_valid_label(char *label_name, char label_type)
+int is_valid_label_name(char *label_name, char label_type)
{
int len = strlen(label_name);
if (len < MIN_LABEL_NAME_LEN || len > MAX_LABEL_NAME_LEN)
{
+ ereport(WARNING,
+ (errcode(ERRCODE_INVALID_PARAMETER_VALUE),
+ errmsg("label name length not in range")));
Review Comment:
Done.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]