Re: Unable to migrate from postgres-13 to 14

2022-01-12 Thread Tom Lane
Jasvant Singh writes: > pg_restore: error: could not execute query: ERROR: function > array_append(anyarray, anyelement) does not exist > Command was: CREATE AGGREGATE "public"."mode"("anyelement") ( > SFUNC = "array_append", > STYPE = "anyarray", > INITCOND = '{}', > FINALFUNC =

Unable to migrate from postgres-13 to 14

2022-01-12 Thread Jasvant Singh
Hi, I am trying to migrate my database from postgres-13 to 14 but getting following error: pg_restore: error: could not execute query: ERROR: function array_append(anyarray, anyelement) does not exist Command was: CREATE AGGREGATE "public"."mode"("anyelement") ( SFUNC = "array_append", S