-
Notifications
You must be signed in to change notification settings - Fork 592
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support \du
when using psql
#13519
Labels
Milestone
Comments
9 tasks
In higher version of SELECT r.rolname, r.rolsuper, r.rolinherit,
r.rolcreaterole, r.rolcreatedb, r.rolcanlogin,
r.rolconnlimit, r.rolvaliduntil,
ARRAY(SELECT b.rolname
FROM pg_catalog.pg_auth_members m
JOIN pg_catalog.pg_roles b ON (m.roleid = b.oid)
WHERE m.member = r.oid) as memberof
, r.rolreplication
, r.rolbypassrls
FROM pg_catalog.pg_roles r
WHERE r.rolname !~ '^pg_'
ORDER BY 1; After #13540 , we still need to support expression
|
ARRAY(SELECT b.rolname
FROM pg_catalog.pg_auth_members m
JOIN pg_catalog.pg_roles b ON (m.roleid = b.oid)
WHERE m.member = r.oid) as memberof Note that |
9 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Error: "Item not found: Invalid column: rolconnlimit"
The rest of features are all supported, except the missing
rolconnlimit
column.The
\du
command is typically used to check the attributes/privileges of users. It's necessary for the feature richness of our user management subsystem.Describe the solution you'd like
Add rolconnlimit to pg_catalog.pg_roles.
Describe alternatives you've considered
No response
Additional context
Please feel free to reassign this task to others, Thx!
The text was updated successfully, but these errors were encountered: