listing roles

Started by PG Bug reporting formalmost 6 years ago2 messagesdocs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/12/user-manag.html
Description:

Thank you for perfect documentation.
I am missing in chapter 21 (Database roles) a section about *listing roles*
both as psql commands and selects to catalogue or pg functions. E.g. to
answer question like What roles is CURRENT_USER member of?

#2Bruce Momjian
bruce@momjian.us
In reply to: PG Bug reporting form (#1)
Re: listing roles

On Wed, Jun 24, 2020 at 05:33:00PM +0000, PG Doc comments form wrote:

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/12/user-manag.html
Description:

Thank you for perfect documentation.
I am missing in chapter 21 (Database roles) a section about *listing roles*
both as psql commands and selects to catalogue or pg functions. E.g. to
answer question like What roles is CURRENT_USER member of?

Well, we _could_ sprinkle psql backslash commands in all the places that
reference backslash command features, but that would make the text
awkward. psql \du does show you want you wanted.

--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EnterpriseDB https://enterprisedb.com

The usefulness of a cup is in its emptiness, Bruce Lee