Added todo [skip ci]

This commit is contained in:
Andrew Kane
2023-06-09 00:27:01 -07:00
parent 3c78130868
commit 9f2359894f

View File

@@ -447,6 +447,7 @@ array_to_vector(PG_FUNCTION_ARGS)
(errcode(ERRCODE_NULL_VALUE_NOT_ALLOWED),
errmsg("array must not containing NULLs")));
/* TODO Move outside loop in 0.5.0 */
if (ARR_ELEMTYPE(array) == INT4OID)
result->x[i] = DatumGetInt32(elemsp[i]);
else if (ARR_ELEMTYPE(array) == FLOAT8OID)