From: Justin Pryzby <pryzby@telsasoft.com>
To: Bruce Momjian <bruce@momjian.us>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: array_cat anycompatible change is breaking xversion upgrade tests (v14 release notes)
Date: Fri, 11 Jun 2021 20:19:48 -0500
Message-ID: <20210612011948.GR16435@telsasoft.com> (raw)
In-Reply-To: <20210612011255.GB8278@momjian.us>
References: <20210609001000.GU16435@telsasoft.com>
<20210612003244.GA8278@momjian.us>
<2137765.1623459379@sss.pgh.pa.us>
<20210612011255.GB8278@momjian.us>
On Fri, Jun 11, 2021 at 09:12:55PM -0400, Bruce Momjian wrote:
> OK, I used some of your ideas and tried for something more general;
> patch attached.
This is good.
But I wonder if "dropped before upgrading" is too specific to pg_upgrade?
Dropping the aggregate before starting a backup to be restored into a new
version seems like a bad way to do it. More likely, I would restore whatever
backup I had, get errors, and then eventually recreate the aggregates.
> + <para>
> + User-defined objects that reference some built-in array functions
> + along with their argument types must be recreated (Tom Lane)
> + </para>
> +
> + <para>
> + Specifically, <link
> + linkend="functions-array"><function>array_append()</function></link>,
...
> + used to take <type>anyarray</type> arguments but now take
> + <type>anycompatiblearray</type>. Therefore, user-defined objects
> + that reference the old array function signature must be dropped
> + before upgrading and recreated once the upgrade completes.
> + </para>
> + </listitem>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: pryzby@telsasoft.com, bruce@momjian.us, tgl@sss.pgh.pa.us
Subject: Re: array_cat anycompatible change is breaking xversion upgrade tests (v14 release notes)
In-Reply-To: <20210612011948.GR16435@telsasoft.com>
References: <20210609001000.GU16435@telsasoft.com> <20210612003244.GA8278@momjian.us> <2137765.1623459379@sss.pgh.pa.us> <20210612011255.GB8278@momjian.us> <20210612011948.GR16435@telsasoft.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox