Re: SET ROLE documentation improvement

From: Yurii Rashkovskii <yrashk(at)gmail(dot)com>
To: Nathan Bossart <nathandbossart(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: SET ROLE documentation improvement
Date: 2023-09-26 15:33:25
Message-ID: CA+RLCQywM6YEkzdrHXpFdL=8N=zsaNapV+befTkrJ5rn70EWZg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Sep 25, 2023 at 3:09 PM Nathan Bossart <nathandbossart(at)gmail(dot)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(at)gmail(dot)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 Content-Type Size
V2-0001-Minor-improvement-to-SET-ROLE-documentation.patch application/octet-stream 1.8 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Aleksander Alekseev 2023-09-26 15:33:59 Re: XLog size reductions: smaller XLRec block header for PG17
Previous Message Robert Haas 2023-09-26 15:28:40 Re: CREATE FUNCTION ... SEARCH { DEFAULT | SYSTEM | SESSION }