Re: SET ROLE documentation improvement - Mailing list pgsql-hackers

From Yurii Rashkovskii
Subject Re: SET ROLE documentation improvement
Date
Msg-id CA+RLCQywM6YEkzdrHXpFdL=8N=zsaNapV+befTkrJ5rn70EWZg@mail.gmail.com
Whole thread Raw
In response to Re: SET ROLE documentation improvement  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: SET ROLE documentation improvement
List pgsql-hackers

On Mon, Sep 25, 2023 at 3:09 PM Nathan Bossart <nathandbossart@gmail.com> wrote:
On Fri, Sep 15, 2023 at 02:36:16PM -0700, Yurii Rashkovskii wrote:
> On Fri, Sep 15, 2023 at 1:47 PM Nathan Bossart <nathandbossart@gmail.com>
> wrote:
>> I think another issue is that the aforementioned note doesn't mention the
>> new SET option added in 3d14e17.
>
> How do you think we should word it in that note to make it useful?

Maybe something like this:

        The current session user must have the SET option for the specified
        role_name, either directly or indirectly via a chain of memberships
        with the SET option.

This is a good start, indeed. I've amended my patch to include it. 

--
Y.

Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: CREATE FUNCTION ... SEARCH { DEFAULT | SYSTEM | SESSION }
Next
From: Aleksander Alekseev
Date:
Subject: Re: XLog size reductions: smaller XLRec block header for PG17