[RESOLVED] Re: struggling with GRANT while upgrading from 13 to 16 - Mailing list pgsql-sql

From Axel Rau
Subject [RESOLVED] Re: struggling with GRANT while upgrading from 13 to 16
Date
Msg-id 5589C96E-32A2-4FFD-A750-11FB7F444B5D@Chaos1.DE
Whole thread Raw
In response to Re: struggling with GRANT while upgrading from 13 to 16  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql


Am 25.06.2024 um 20:46 schrieb Tom Lane <tgl@sss.pgh.pa.us>:

Axel Rau <Axel.Rau@Chaos1.DE> writes:
I’m getting

ERROR:  permission denied to grant privileges as role "axel"
DETAIL:  The grantor must have the ADMIN option on role "daemons".
ERROR:  permission denied to grant privileges as role "axel"
DETAIL:  The grantor must have the ADMIN option on role "daemons".
ERROR:  permission denied to grant privileges as role "axel"
DETAIL:  The grantor must have the ADMIN option on role "xtrole".
ERROR:  permission denied to grant privileges as role "axel"
DETAIL:  The grantor must have the ADMIN option on role "xtrole".

while trying load a dump from 13 into 16 server.

First I've heard of such a problem.  Could you provide more detail on
this?  What are the actual roles and privileges involved?  Which
pg_dump version did you use?

Using version 16 pg_dump fixed the problem.

Soorry for the noise and thanks to all help and hints,
Axel
---
PGP-Key: CDE74120  ☀ mobile: +49 160 7568212
computing @ chaos claudius

pgsql-sql by date:

Previous
From: Axel Rau
Date:
Subject: Re: struggling with GRANT while upgrading from 13 to 16
Next
From: intmail01
Date:
Subject: Trick to create alias/mirror table