jrgemignani commented on code in PR #1451:
URL: https://github.com/apache/age/pull/1451#discussion_r1426021602


##########
src/backend/utils/adt/agtype.c:
##########
@@ -2961,7 +2969,7 @@ Datum agtype_to_int2(PG_FUNCTION_ARGS)
 
     PG_FREE_IF_COPY(arg_agt, 0);
 
-    PG_RETURN_INT16(result);
+    PG_RETURN_INT64(result);

Review Comment:
   Why? result is an int16



-- 
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]

Reply via email to