diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-14 19:16:24 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-14 19:16:24 +0000 |
commit | 2a0f262beff32ba86bcb58f3273214e5d0517c09 (patch) | |
tree | 24c0ad10dab36bbd5c22743d3c88c4e0ccd5bc65 /doc/src/sgml/man7/SET_ROLE.7 | |
parent | Releasing progress-linux version 16.2-2~progress7.99u1. (diff) | |
download | postgresql-16-2a0f262beff32ba86bcb58f3273214e5d0517c09.tar.xz postgresql-16-2a0f262beff32ba86bcb58f3273214e5d0517c09.zip |
Merging upstream version 16.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'doc/src/sgml/man7/SET_ROLE.7')
-rw-r--r-- | doc/src/sgml/man7/SET_ROLE.7 | 15 |
1 files changed, 9 insertions, 6 deletions
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 <http://docbook.sf.net/> .\" 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 |