Re: Allow CURRENT_ROLE in GRANTED BY

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Allow CURRENT_ROLE in GRANTED BY
Дата
Msg-id 2073b6a9-7f79-5a00-5f26-cd19589a52c7@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Allow CURRENT_ROLE in GRANTED BY  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Ответы Re: Allow CURRENT_ROLE in GRANTED BY  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-hackers
On 2020-06-24 20:21, Peter Eisentraut wrote:
> On 2020-06-24 10:12, Vik Fearing wrote:
>> On 6/24/20 8:35 AM, Peter Eisentraut wrote:
>>> I was checking some loose ends in SQL conformance, when I noticed: We
>>> support GRANT role ... GRANTED BY CURRENT_USER, but we don't support
>>> CURRENT_ROLE in that place, even though in PostgreSQL they are
>>> equivalent.  Here is a trivial patch to add that.
>>
>>
>> The only thing that isn't dead-obvious about this patch is the commit
>> message says "[PATCH 1/2]".  What is in the other part?
> 
> Hehe.  The second patch is some in-progress work to add the GRANTED BY
> clause to the regular GRANT command.  More on that perhaps at a later date.

Here is the highly anticipated and quite underwhelming second part of 
this patch set.

-- 
Peter Eisentraut
2ndQuadrant, an EDB company
https://www.2ndquadrant.com/

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: On login trigger: take three
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Proposed patch for key managment