list of roles role name attributes postgres code example Example: get role postgres SELECT rolname FROM pg_roles;