Re: multiple membership grants and information_schema.applicable_roles - Mailing list pgsql-hackers

From Pavel Luzanov
Subject Re: multiple membership grants and information_schema.applicable_roles
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: multiple membership grants and information_schema.applicable_roles  (Pavel Luzanov <[email protected]>)
List pgsql-hackers
On 24.07.2023 09:42, Pavel Luzanov wrote:
> Is IS_GRANTABLE a key column for ROLE_AUTHORIZATION_DESCRIPTORS?
> If not, duplicates is not possible. Right?

The answer is: no.
Duplicate pairs (grantee, role_name) is impossible only with defined key 
with this two columns.
If there is no such key or key contain another column, for example grantor,
then the information_schema.applicable_roles view definition is correct 
in this part.

-- 
Pavel Luzanov
Postgres Professional: https://postgrespro.com




pgsql-hackers by date:

Previous
From: Dean Rasheed
Date:
Subject: Re: cataloguing NOT NULL constraints
Next
From: Tomas Vondra
Date:
Subject: Re: POC: GROUP BY optimization