Re: BUG #17206: the function array_cat(anyarray, anyarray) does not exist - Mailing list pgsql-bugs

From Edouard HIBON
Subject Re: BUG #17206: the function array_cat(anyarray, anyarray) does not exist
Date
Msg-id f728999f-ac4d-270c-c8c7-8f87d843b5af@free.fr
Whole thread Raw
In response to Re: BUG #17206: the function array_cat(anyarray, anyarray) does not exist  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Thank you Tom and David for your clear answer, I'm going to read more carefully the v14 compatibility notes !
BR
Edouard

Le 01/10/2021 à 01:52, Tom Lane a écrit :
"David G. Johnston" <david.g.johnston@gmail.com> writes:
On Thu, Sep 30, 2021 at 2:51 PM PG Bug reporting form <
noreply@postgresql.org> wrote:
I get the ERROR : the function array_cat(anyarray, anyarray) does not
exist,
You may find this commit to be illuminating.  Work was done in this area
for v14.
https://github.com/postgres/postgres/commit/97f73a978fc1aca59c6ad765548ce0096d95a923
This one might be more so:

https://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=9e38c2bb50

Also see the very first item in the v14 compatibility notes:
    User-defined objects that reference certain built-in array functions    along with their argument types must be recreated (Tom Lane)
    Specifically, array_append(), array_prepend(), array_cat(),    array_position(), array_positions(), array_remove(), array_replace(),    and width_bucket() used to take anyarray arguments but now take    anycompatiblearray. Therefore, user-defined objects like aggregates    and operators that reference those array function signatures must be    dropped before upgrading, and recreated once the upgrade completes.
			regards, tom lane


Garanti sans virus. www.avast.com

pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #17211: Partitioned index partition does not inherit table partition tablespace
Next
From: Tom Lane
Date:
Subject: Re: libpq leaks memory for SSL connections