Clarify syntax for role grants#19340
Conversation
|
Also note that this mimics the syntax example for CREATE ROLE |
There's a See also section way at the bottom that links to the CREATE ROLES , DROP ROLES, SET ROLES, and REVOKE ROLES docs. |
|
Also .. maybe we should change the title of this page to or even And to adjust for consistency change the GRANT page to as title. |
Should we condense the statements? For instance, all CREATE statements go on the CREATE page. Do the same for DROP, GRANT, ALTER etc... |
No ... the objects are very important .. so the statements are all a verb and a object typically .. CREATE TABLE .. and so on. GRANT is kinda the exception. |
Okay. I will move and rename the GRANT files in the follow-up PR. What about this comment: #19340 (comment) |
0a72154 to
0ec8a21
Compare
0ec8a21 to
a7b5e0a
Compare
There was a problem hiding this comment.
Looks good now. Follow approach discussed and approved by @electrum . Thank you @Jessie212
Description
Clarify syntax for role grants. The current syntax has misled multiple readers to think that this is valid.
We assume that readers think that the lowercase
roleis a typo.I worked with @mosabua and confirmed in the antlr spec that this is wrong and the syntax is
Additional context and related issues
Release notes
(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text: