From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: mrechte@gmail.com
Subject: BUG #18376: pg_upgrade fails trying to restore privileges on retired function pg_start_backup and pg_stop_backup
Date: Mon, 04 Mar 2024 09:56:35 +0000
Message-ID: <18376-d420b8068805622e@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 18376
Logged by: Marc Rechté
Email address: mrechte@gmail.com
PostgreSQL version: 16.2
Operating system: RHEL 8 (clone)
Description:
We got a pg_upgrade failure when upgrading from a PG14 to a PG16 instance:
pg_restore: de l'entrée TOC 3279 ; 0 0 ACL FUNCTION
"pg_start_backup"("label" "text", "fast" boolean, "exclusive" boolean)
postgres
pg_restore: erreur : could not execute query: ERROR: function
pg_catalog.pg_start_backup(text, boolean, boolean) does not exist
La commande était : GRANT ALL ON FUNCTION
"pg_catalog"."pg_start_backup"("label" "text", "fast" boolean, "exclusive"
boolean) TO "barman";
Those functions being dropped in PG15, one should not try to restore
privileges on them.
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: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, mrechte@gmail.com
Subject: Re: BUG #18376: pg_upgrade fails trying to restore privileges on retired function pg_start_backup and pg_stop_backup
In-Reply-To: <18376-d420b8068805622e@postgresql.org>
* 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