You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
With the addition of INHERIT and SET options for role grants,the historical display of role memberships in \du/\dg is woefullyinadequate. Besides those options, there are pre-existingshortcomings that you can't see the ADMIN option nor the grantor.To fix this, remove the "Member of" column from \du/\dg altogether(making that output usefully narrower), and invent a new meta-command"\drg" that is specifically for displaying role memberships. Itshows one row for each role granted to the selected role(s), withthe grant options and grantor.We would not normally back-patch such a feature addition postfeature freeze, but in this case the change is mainly driven byv16 changes in the server, so it seems appropriate to include itin v16.Pavel Luzanov, with bikeshedding and review from a lot of people,but particularly David JohnstonDiscussion:https://postgr.es/m/b9be2d0e-a9bc-0a30-492f-a4f68e4f7740@postgrespro.ru