rafsun42 commented on code in PR #1198:
URL: https://github.com/apache/age/pull/1198#discussion_r1308058143
##########
src/backend/utils/adt/agtype_ops.c:
##########
@@ -1156,7 +1156,26 @@ Datum agtype_exists_all(PG_FUNCTION_ARGS)
PG_RETURN_BOOL(true);
}
-static agtype *agtype_concat(agtype *agt1, agtype *agt2)
+PG_FUNCTION_INFO_V1(agtype_concat);
+
+Datum agtype_concat(PG_FUNCTION_ARGS)
+{
+ agtype *agt_lhs = AG_GET_ARG_AGTYPE_P(0);
+ agtype *agt_rhs = AG_GET_ARG_AGTYPE_P(1);
+
+ /*
+ * Jsonb returns NULL when for PG Null, but not for jsonb's NULL value,
Review Comment:
Is `when` an extra word put mistakently?
--
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]