SET ROLE documentation improvement

From: Yurii Rashkovskii <yrashk(at)gmail(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: SET ROLE documentation improvement
Date: 2023-09-15 18:26:16
Message-ID: CA+RLCQysHtME0znk2KUMJN343ksboSRQSU-hCnOjesX6VK300Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

I believe SET ROLE documentation makes a slightly incomplete statement
about what happens when a superuser uses SET ROLE.

The documentation reading suggests that the superuser would lose all their
privileges. However, they still retain the ability to use `SET ROLE` again.

The attached patch adds this bit to the documentation.

--
Y.

Attachment Content-Type Size
0001-Minor-improvement-to-SET-ROLE-documentation.patch application/octet-stream 1.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2023-09-15 18:31:10 Re: Faster "SET search_path"
Previous Message Daniel Gustafsson 2023-09-15 17:50:51 Re: Small patch modifying variable name to reflect the logic involved