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

From David G. Johnston
Subject Re: Not able to grant access on pg_signal_backend on azure flexible server
Date
Msg-id CAKFQuwawKpd8ce=MyVwAuv0qJVjoVAEEo=1XFB=ggeZeK0vSMg@mail.gmail.com
Whole thread Raw
In response to Re: Not able to grant access on pg_signal_backend on azure flexible server  (Saksham Joshi <sakshamjoshi64@gmail.com>)
Responses Re: Not able to grant access on pg_signal_backend on azure flexible server  (Bagesh Kumar Singh <bageshkumarbagimsbi@gmail.com>)
List pgsql-general
On Sun, Apr 21, 2024 at 10:49 PM Saksham Joshi <sakshamjoshi64@gmail.com> wrote:
We have tried granting it with our admin user also but no avail.

This is how v16+ works in a community installation:

postgres=1 # create role cr createrole;
CREATE ROLE

postgres 2=# set role cr;
SET

postgres 2=> create role otherrole;
CREATE ROLE
postgres 2=> grant pg_signal_backend to otherrole;
ERROR:  permission denied to grant role "pg_signal_backend"
DETAIL:  Only roles with the ADMIN option on role "pg_signal_backend" may grant this role.

postgres 1=# grant pg_signal_backend to cr with admin option;
GRANT ROLE

postgres 2=> grant pg_signal_backend to otherrole;
GRANT ROLE

David J.

pgsql-general by date:

Previous
From: Saksham Joshi
Date:
Subject: Re: Not able to grant access on pg_signal_backend on azure flexible server
Next
From: Bagesh Kumar Singh
Date:
Subject: Re: Not able to grant access on pg_signal_backend on azure flexible server