Re: Not able to grant access on pg_signal_backend on azure flexible server - Mailing list pgsql-general

From Saksham Joshi
Subject Re: Not able to grant access on pg_signal_backend on azure flexible server
Date
Msg-id CAPRm4pN--N+PRTeyNu_Kak-iHwVxKLetoMAbSKCwRyiVYf5Ojw@mail.gmail.com
Whole thread Raw
In response to Re: Not able to grant access on pg_signal_backend on azure flexible server  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: Not able to grant access on pg_signal_backend on azure flexible server  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-general
Hi,
I am afraid that's not the case with postgresql 16 since we also tested with postgresql 15 we are able to run this command( "GRANT pg_signal_backend To "our_admin_user") successfully with our admin user but that's not the case with postgresql 16 we keep getting the error message  'permission denied to grant role "pg_signal_backend".Also,In postgre 16 only the current users of the database are able to close the connections.Can you help on this please?

On Fri, 19 Apr 2024, 19:50 Adrian Klaver, <adrian.klaver@aklaver.com> wrote:
On 4/18/24 22:48, Saksham Joshi wrote:
> Hi,
> 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.


https://www.postgresql.org/docs/current/predefined-roles.html

"PostgreSQL provides a set of predefined roles that provide access to
certain, commonly needed, privileged capabilities and information.
Administrators (including roles that have the CREATEROLE privilege) can
GRANT these roles to users and/or other roles in their environment,
providing those users with access to the specified capabilities and
information."




--
Adrian Klaver
adrian.klaver@aklaver.com

pgsql-general by date:

Previous
From: Abhishek Chanda
Date:
Subject: Missing PG_MODULE_MAGIC error
Next
From: "David G. Johnston"
Date:
Subject: Re: Not able to grant access on pg_signal_backend on azure flexible server