array_dims(ARRAY[1,2] || ARRAY[3,4,5]) : Concatenate Array « Array « PostgreSQL






array_dims(ARRAY[1,2] || ARRAY[3,4,5])


postgres=# SELECT array_dims(ARRAY[1,2] || ARRAY[3,4,5]);
 array_dims
------------
 [1:5]
(1 row)

postgres=#
           
       








Related examples in the same category

1.Concatenate two arrays
2.Concatenate two dimensional arrays
3.array_dims(1 || ARRAY[2,3])
4.array_dims(ARRAY[1,2] || 3)
5.array_dims(ARRAY[[1,2],[3,4]] || ARRAY[[5,6],[7,8],[9,0]])
6.array_dims(ARRAY[1,2] || ARRAY[[3,4],[5,6]])