Is there a way to concatenate multiple arrays into one array in Postgres?
For example, something like this:
ARRAY_CAT(
ARRAY_FILL(5, ARRAY[4]),
ARRAY_FILL(2, ARRAY[3]),
ARRAY_FILL(11, ARRAY[3])
)
For this example, I'd like to see an output of
[5,5,5,5,2,2,2,11,11,11]