The following bug has been logged on the website:
Bug reference: 18376
Logged by: Marc Rechté
Email address: mrechte(at)gmail(dot)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.