pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: doc: Clarify requirements for SET ROLE.
Date: Sun, 24 Mar 2024 20:28:57 +0000
Message-ID: <E1roUSf-005TTf-2s@gemulon.postgresql.org> (raw)

doc: Clarify requirements for SET ROLE.

Since commit 3d14e171e9, SET ROLE has required the current session
user to have membership with the SET option in the target role, but
the SET ROLE documentation only mentions the membership
requirement.  This commit adds this important detail to the SET
ROLE page.

Reviewed-by: Robert Haas
Discussion: https://postgr.es/m/CA%2BRLCQysHtME0znk2KUMJN343ksboSRQSU-hCnOjesX6VK300Q%40mail.gmail.com
Backpatch-through: 16

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3330a8d1b792375ae3f7dffb7eb0a45c907cbc72

Modified Files
--------------
doc/src/sgml/ref/set_role.sgml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1roUSf-005TTf-2s@gemulon.postgresql.org>
Permalink:  ../E1roUSf-005TTf-2s@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1roUSf-005TTf-2s@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: doc: Clarify requirements for SET ROLE.
  In-Reply-To: <E1roUSf-005TTf-2s@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox