Re: array_cat in PG-14 changed signature breaks my custom aggregate

2021-05-24 Thread Andreas Joseph Krogh
På mandag 24. mai 2021 kl. 12:01:44, skrev David Rowley mailto:dgrowle...@gmail.com>>: [..] > 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:

Re: array_cat in PG-14 changed signature breaks my custom aggregate

2021-05-24 Thread David Rowley
On Mon, 24 May 2021 at 20:53, Andreas Joseph Krogh wrote: > > Hi, I have this, for historical reasons: > > CREATE AGGREGATE array_aggarray(anyarray) ( > SFUNC = array_cat, STYPE = anyarray); > > > ...which now breaks in pg-14b1: > > ERROR: function array_cat(anyarray, anyarray) does not

array_cat in PG-14 changed signature breaks my custom aggregate

2021-05-24 Thread Andreas Joseph Krogh
Hi, I have this, for historical reasons: CREATE AGGREGATE array_aggarray(anyarray) ( SFUNC = array_cat, STYPE = anyarray); ...which now breaks in pg-14b1: ERROR: function array_cat(anyarray, anyarray) does not exist I see the argument data-types have changed from anyarray to