From 2a0f262beff32ba86bcb58f3273214e5d0517c09 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 14 May 2024 21:16:24 +0200 Subject: Merging upstream version 16.3. Signed-off-by: Daniel Baumann --- doc/src/sgml/man7/SET_ROLE.7 | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'doc/src/sgml/man7/SET_ROLE.7') diff --git a/doc/src/sgml/man7/SET_ROLE.7 b/doc/src/sgml/man7/SET_ROLE.7 index ffb8456..22c672c 100644 --- a/doc/src/sgml/man7/SET_ROLE.7 +++ b/doc/src/sgml/man7/SET_ROLE.7 @@ -3,11 +3,11 @@ .\" Author: The PostgreSQL Global Development Group .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 2024 -.\" Manual: PostgreSQL 16.2 Documentation -.\" Source: PostgreSQL 16.2 +.\" Manual: PostgreSQL 16.3 Documentation +.\" Source: PostgreSQL 16.3 .\" Language: English .\" -.TH "SET ROLE" "7" "2024" "PostgreSQL 16.2" "PostgreSQL 16.2 Documentation" +.TH "SET ROLE" "7" "2024" "PostgreSQL 16.3" "PostgreSQL 16.3 Documentation" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -42,9 +42,12 @@ This command sets the current user identifier of the current SQL session to be \fIrole_name\fR\&. The role name can be written as either an identifier or a string literal\&. After \fBSET ROLE\fR, permissions checking for SQL commands is carried out as though the named role were the one that had logged in originally\&. .PP -The specified -\fIrole_name\fR -must be a role that the current session user is a member of\&. (If the session user is a superuser, any role can be selected\&.) +The current session user must have the +SET +option for the specified +\fIrole_name\fR, either directly or indirectly via a chain of memberships with the +SET +option\&. (If the session user is a superuser, any role can be selected\&.) .PP The SESSION -- cgit v1.2.3