jrgemignani commented on code in PR #1451:
URL: https://github.com/apache/age/pull/1451#discussion_r1426020668
##########
src/backend/utils/adt/agtype.c:
##########
@@ -2191,9 +2193,12 @@ Datum _agtype_build_vertex(PG_FUNCTION_ARGS)
/* handles null */
if (fcinfo->args[0].isnull)
{
+ /*
ereport(ERROR,
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
errmsg("_agtype_build_vertex() graphid cannot be NULL")));
+ */
+ PG_RETURN_NULL();
Review Comment:
Why return NULL instead of an error message?
--
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]