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 1rxoSF-00C7pW-QZ for pgsql-general@arkaria.postgresql.org; Fri, 19 Apr 2024 13:39:03 +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 1rxoSD-002Y3a-Ej for pgsql-general@arkaria.postgresql.org; Fri, 19 Apr 2024 13:39:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rxoSD-002Y3S-3p for pgsql-general@lists.postgresql.org; Fri, 19 Apr 2024 13:39:01 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rxoS6-001oue-4r for pgsql-general@lists.postgresql.org; Fri, 19 Apr 2024 13:39:00 +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 43JDcodE2131247; Fri, 19 Apr 2024 09:38:50 -0400 From: Tom Lane To: Saksham Joshi cc: pgsql-general@lists.postgresql.org, "bageshkumarbagimsbi@gmail.com" Subject: Re: Not able to grant access on pg_signal_backend on azure flexible server In-reply-to: References: Comments: In-reply-to Saksham Joshi message dated "Fri, 19 Apr 2024 11:18:10 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2131245.1713533930.1@sss.pgh.pa.us> Date: Fri, 19 Apr 2024 09:38:50 -0400 Message-ID: <2131246.1713533930@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Saksham Joshi writes: > We have created an azure postgresql flexible server and we have added an ad > admin as a user and Created our database using this admin user.However,When > are running this command: 'Grant pg_signal_backend To adminUser' we are > getting an error that says 'permission denied to grant role > "pg_signal_backend".While this is strange the admin user is infact the > owner of the said database and we don't have any other user that have the > said privileges. Being the owner of a database isn't an especially privileged thing in Postgres. In particular, it does not grant you any powers over installation-wide objects such as roles. regards, tom lane