Skip to content
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

release-21.2: sql: dropping user with default privilege's error message is more clear #13133

Open
cockroach-teamcity opened this issue Mar 1, 2022 · 0 comments

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Mar 1, 2022

Exalate commented:

cockroachdb/cockroach#77142 --- Release note (sql change): When dropping a user that has default privileges, the error message now includes which database and schema the default privileges are defined in. Additionally a hint is given to show exactly how to remove the default privileges. Example: role testuser2 cannot be dropped because some objects depend on it owner of default privileges on new sequences belonging to role testuser2 in database testdb2 privileges for default privileges on new sequences belonging to role testuser3 in database testdb2 privileges for default privileges on new sequences for all roles in database test privileges for default privileges on new sequences for all roles in database testdb2

Jira Issue: DOC-2764

Jira Issue: DOC-4358

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant