Re: Allow CURRENT_ROLE in GRANTED BY - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Allow CURRENT_ROLE in GRANTED BY
Date
Msg-id 7352ff27-72b9-254d-a745-74ea983440fa@2ndquadrant.com
Whole thread Raw
In response to Re: Allow CURRENT_ROLE in GRANTED BY  (Asif Rehman <asifr.rehman@gmail.com>)
List pgsql-hackers
On 2020-09-07 12:02, Asif Rehman wrote:
> The following review has been posted through the commitfest application:
> make installcheck-world:  tested, passed
> Implements feature:       tested, passed
> Spec compliant:           tested, passed
> Documentation:            tested, passed
> 
> The patch applies cleanly and looks fine to me. However wouldn't it be better to just map the CURRENT_ROLE to
CURRENT_USERin backend grammar?
 

Existing code treats them differently.  I think, given that the code is 
already written, it is good to preserve what the user wrote.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: Optimising compactify_tuples()
Next
From: Fujii Masao
Date:
Subject: Re: New statistics for tuning WAL buffer size