Mega Code Archive

 
Categories / PostgreSQL / Array
 

Array_cat(ARRAY[5,6], ARRAY[[1,2],[3,4]])

postgres=# SELECT array_cat(ARRAY[5,6], ARRAY[[1,2],[3,4]]);            array_cat --------------------------------  [0:2][1:2]={{5,6},{1,2},{3,4}} (1 row) postgres=# postgres=#