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 1sMBBK-000yNB-Dj for pgsql-sql@arkaria.postgresql.org; Tue, 25 Jun 2024 18:46:18 +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 1sMBBI-00HQKL-Du for pgsql-sql@arkaria.postgresql.org; Tue, 25 Jun 2024 18:46:16 +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 1sMBBI-00HQKC-4z for pgsql-sql@lists.postgresql.org; Tue, 25 Jun 2024 18:46:16 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sMBBF-0036C7-LD for pgsql-sql@lists.postgresql.org; Tue, 25 Jun 2024 18:46:15 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 45PIk9GE1347598; Tue, 25 Jun 2024 14:46:09 -0400 From: Tom Lane To: Axel Rau cc: pgsql-sql@lists.postgresql.org Subject: Re: struggling with GRANT while upgrading from 13 to 16 In-reply-to: References: Comments: In-reply-to Axel Rau message dated "Tue, 25 Jun 2024 19:04:41 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <1347596.1719341169.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Tue, 25 Jun 2024 14:46:09 -0400 Message-ID: <1347597.1719341169@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Axel Rau 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? regards, tom lane