Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: do not require system table privileges to use SHOW STATISTICS
See the docs at: https://www.cockroachlabs.com/docs/stable/show-statistics They say that no special privileges are needed. Release note (bug fix): The SHOW STATISTICS command previously incorrectly required the user to have the admin role. It was intended to only require the user to have any privilege on the table being inspected. This is now fixed.
- Loading branch information
Showing
3 changed files
with
44 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters