SET ROLE documentation improvement - Mailing list pgsql-hackers

From Yurii Rashkovskii
Subject SET ROLE documentation improvement
Date
Msg-id CA+RLCQysHtME0znk2KUMJN343ksboSRQSU-hCnOjesX6VK300Q@mail.gmail.com
Whole thread Raw
Responses Re: SET ROLE documentation improvement
List 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

pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: Small patch modifying variable name to reflect the logic involved
Next
From: Jeff Davis
Date:
Subject: Re: Faster "SET search_path"