From: Michael Paquier <michael@paquier.xyz>
To: Stanisław Kodzis <stanislawk@ntropy.pl>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: Postgres14.1 bug with pg_restore and repmgr
Date: Wed, 17 Nov 2021 11:38:55 +0900
Message-ID: <YZRrP46eR+Re8mxF@paquier.xyz> (raw)
In-Reply-To: <CAMxe1z5_ZB=tzCnX_nFT3ifeeuC4JqripP4jGa8gOx3G0AQbBg@mail.gmail.com>
References: <CAMxe1z5_ZB=tzCnX_nFT3ifeeuC4JqripP4jGa8gOx3G0AQbBg@mail.gmail.com>
On Tue, Nov 16, 2021 at 09:34:33AM +0100, Stanisław Kodzis wrote:
> There was 14.1 couple days ago and it affected my upgrade from 9.6 to 14.
> On 14.0 there was smooth upgrade - now after apt upgrade to 14.1 I have the
> error(with pg_upgrade cmd on ubuntu 20.4):
There has been no changes related to extensions between 14.0 and 14.1
AFAIK, so that looks like an issue with the extension shipped in
repmgr and its packaging.
> I dunno how to implement this (on 9.6 is already registered)
> ALTER EXTENSION "repmgr"
> If I register it on 14.1 pg_upgrade won't allow me to continue upgrade.
If you want to speed up things, one thing you could do is perhaps drop
the extension before the upgrade and re-create it on the new cluster
once you are done with pg_upgrade? It is not uncommon to have
post-upgrade reconfigurations depending on what you are doing. This
one is a bit extreme, and it may not work if that's a packaging
issue..
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
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 using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: michael@paquier.xyz, stanislawk@ntropy.pl, pgsql-bugs@lists.postgresql.org
Subject: Re: Postgres14.1 bug with pg_restore and repmgr
In-Reply-To: <YZRrP46eR+Re8mxF@paquier.xyz>
* 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