Re: Allow CURRENT_ROLE in GRANTED BY

From: Vik Fearing <vik(at)postgresfriends(dot)org>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Allow CURRENT_ROLE in GRANTED BY
Date: 2020-06-24 08:12:38
Message-ID: f3723966-022a-fb74-06f4-3801f4fb7c1b@postgresfriends.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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?

Assuming that's just a remnant of development, this LGTM.
--
Vik Fearing

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Inoue, Hiroshi 2020-06-24 08:20:42 Re: Removal of currtid()/currtid2() and some table AM cleanup
Previous Message Bharath Rupireddy 2020-06-24 08:10:29 Re: Parallel copy