Re: multiple membership grants and information_schema.applicable_roles

Поиск
Список
Период
Сортировка
От Pavel Luzanov
Тема Re: multiple membership grants and information_schema.applicable_roles
Дата
Msg-id 1c156be6-5df1-03d7-adb0-a87754575e8d@postgrespro.ru
обсуждение исходный текст
Ответ на Re: multiple membership grants and information_schema.applicable_roles  (Pavel Luzanov <p.luzanov@postgrespro.ru>)
Список 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 по дате отправления:

Предыдущее
От: Dean Rasheed
Дата:
Сообщение: Re: cataloguing NOT NULL constraints
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: POC: GROUP BY optimization