Re: pg_upgrade (12->14) fails on aggregate - Mailing list pgsql-bugs

From David G. Johnston
Subject Re: pg_upgrade (12->14) fails on aggregate
Date
Msg-id CAKFQuwbUUwkO0ffRY4+z4Hs9-jRjAUwGHZrDKyHhRudWVhtgkw@mail.gmail.com
Whole thread Raw
In response to pg_upgrade (12->14) fails on aggregate  (Petr Vejsada <pve@paymorrow.com>)
List pgsql-bugs
On Wed, May 4, 2022 at 7:29 AM Petr Vejsada <pve@paymorrow.com> wrote:
We solved it (in our case) dropping the aggregate before upgrade and re-create
in using new syntax in V14:

but pg_upgrade shouldn't fail on this.

I hope it can help to improve pg_upgrade process.


The release notes say explicitly that one needs to drop and recreate the affected functions.  Thus, we know about the issue and to date our best solution is to have the user do exactly what you did (i.e., it is not something pg_upgrade is going to do for you).  If you have an alternative solution to suggest that would help.


David J.

pgsql-bugs by date:

Previous
From: Petr Vejsada
Date:
Subject: pg_upgrade (12->14) fails on aggregate
Next
From: PG Bug reporting form
Date:
Subject: BUG #17474: Segmentation fault from INSERT ( JumbleExpr )