How do I concatenate ARRAYS of different sizes ? Tried :
select array_agg(field) from table
but I'm getting this :
ERROR: cannot accumulate arrays of different dimensionality
table:
field
-----
{1,2,3}
{3,8}
{9,0,7,9,6}
{4}
...
expected result:
{1,2,3,3,8,9,0,7,9,6,4}