-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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-20.1: sql: Change output of CREATE/ALTER/DROP ROLE to not include rows affected. Add hint for GRANT ROLE. #46819
Conversation
Can you fix the subject line of the commit message. right now it spans two lines |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also add the examples from the PR description into the commit message. That's where they belong.
I also vaguely recall I have reviewed this PR already somewhere - did you create a new one?
Reviewed 7 of 7 files at r1.
Reviewable status: complete! 0 of 0 LGTMs obtained
did you use the |
02ac7a5
to
55e8f2a
Compare
Sorry, I didn't know about the backport tool - updated to use it. |
do you still need a review on this one? |
Yeah, or rather need approval to backport it. |
ok then can you update the PR description and rebase, then i'll review |
55e8f2a
to
9ca5536
Compare
… Add hint for GRANT ROLE. Fixes cockroachdb#46728, cockroachdb#46698 Release note (sql change): Remove rows affected from CREATE/ALTER/DROP ROLE command results. The number doesn't make sense to include since rows affected includes system.role_options rows, this number can be misleading (ie CREATE ROLE returning 3). This also matches PG as no number is returned for these commands. Release note (sql change): Add hint to use ALTER ROLE when trying to "GRANT" a role option directly to a user (using the GRANT ROLE syntax). Release justification: Low risk change, command result output changed for CREATE/ALTER/DROP ROLE. Hint added for GRANT ROLE.
Rebased and updated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r2.
Reviewable status: complete! 1 of 0 LGTMs obtained
TFTR! |
i think you need to retry this. |
bors r=knz |
Build failed |
Retrying again - failure doesn't look related to change. bors r=knz |
46819: release-20.1: sql: Change output of CREATE/ALTER/DROP ROLE to not include rows affected. Add hint for GRANT ROLE. r=knz a=RichardJCai Backport 1/1 commits from #46795. /cc @cockroachdb/release Co-authored-by: Richard Cai <[email protected]>
bors r=knz |
Build succeeded |
Backport 1/1 commits from #46795.
/cc @cockroachdb/release