Re: Allow CURRENT_ROLE in GRANTED BY

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, Vik Fearing <vik(at)postgresfriends(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Allow CURRENT_ROLE in GRANTED BY
Date: 2021-11-26 13:17:05
Message-ID: BAF0FBD8-B1BD-4D31-B5BD-4780259131E2@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 18 Nov 2021, at 14:42, Daniel Gustafsson <daniel(at)yesql(dot)se> wrote:
>
>> On 18 Nov 2021, at 14:41, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com> wrote:
>>
>> On 16.11.21 15:27, Daniel Gustafsson wrote:
>>>>> On 16 Nov 2021, at 15:04, Daniel Gustafsson <daniel(at)yesql(dot)se> wrote:
>>>> ..or should the attached small diff be applied to fix it?
>>> Actually it shouldn't, I realized when hitting Send that it was the wrong
>>> version. The attached is the proposed diff.
>>
>> This appears to have been an oversight.
>
> Thanks for confirming, I’ll take another pass over the proposed diff in a bit.

Polished a little and pushed to master with a backpatch to 14 where it was
introduced.

--
Daniel Gustafsson https://vmware.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2021-11-26 13:17:54 Re: Add regression coverage for REVOKE ADMIN OPTION
Previous Message Amul Sul 2021-11-26 12:59:25 Re: [Patch] ALTER SYSTEM READ ONLY