listing roles
listing roles
От:
PG Doc comments 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?
Re: listing roles
От:
Bruce Momjian <bruce@momjian.us>
Дата:
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 https://momjian.us EnterpriseDB https://enterprisedb.com The usefulness of a cup is in its emptiness, Bruce Lee