Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sM9b9-000rPt-1W for pgsql-sql@arkaria.postgresql.org; Tue, 25 Jun 2024 17:04:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sM9b6-00GtW8-Tp for pgsql-sql@arkaria.postgresql.org; Tue, 25 Jun 2024 17:04:49 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sM9b6-00GtVz-KP for pgsql-sql@lists.postgresql.org; Tue, 25 Jun 2024 17:04:48 +0000 Received: from mail.nepustil.net ([2001:14f8:1:1::8]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sM9b3-0035Tv-OW for pgsql-sql@lists.postgresql.org; Tue, 25 Jun 2024 17:04:47 +0000 Received: from [2001:14f8:21c:10::124] (port=56960 helo=axels-imac.in.chaos1.de) by mail.nepustil.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95 (FreeBSD)) (envelope-from ) id 1sM9Za-000OhA-B6 for pgsql-sql@lists.postgresql.org; Tue, 25 Jun 2024 19:04:39 +0200 From: Axel Rau Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Subject: struggling with GRANT while upgrading from 13 to 16 Message-Id: Date: Tue, 25 Jun 2024 19:04:41 +0200 To: pgsql-sql@lists.postgresql.org X-Mailer: Apple Mail (2.3608.120.23.2.7) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi all, I=E2=80=99m 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. Correcting this on 13 seems impossible as new syntax/options are = required. What would be the upgrade path to fix this? What would be the SQL phrase to do it ? Any help appreciated, Axel --- PGP-Key: CDE74120 =E2=98=80 mobile: +49 160 7568212 computing @ chaos claudius