[..] > Do I have to change the signature of my aggregate to take anycompatiblearray as argument?
Yeah you'll need to do that or write your own transition function that takes an anyarray. The docs mention:
"the sfunc must take N+1 arguments, the first being of type state_data_type"
array_cat no longer takes anyarray.
regression=# \dfS array_cat List of functions Schema | Name | Result data type | Argument data types | Type ------------+-----------+--------------------+----------------------------------------+------ pg_catalog | array_cat | anycompatiblearray | anycompatiblearray, anycompatiblearray | func (1 row)