Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 194c756

Browse files
authoredDec 12, 2024
sql: fix the synopsis of REVOKE <privileges> (#19659) (#19660)
1 parent ffe88a3 commit 194c756

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed
 

‎sql-statements/sql-statement-revoke-privileges.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ This statement removes privileges from an existing user. Executing this statemen
1010
## Synopsis
1111

1212
```ebnf+diagram
13-
GrantStmt ::=
14-
'GRANT' PrivElemList 'ON' ObjectType PrivLevel 'TO' UserSpecList RequireClauseOpt WithGrantOptionOpt
13+
RevokeStmt ::=
14+
'REVOKE' PrivElemList 'ON' ObjectType PrivLevel 'FROM' UserSpecList
1515
1616
PrivElemList ::=
1717
PrivElem ( ',' PrivElem )*
@@ -54,10 +54,6 @@ PrivLevel ::=
5454
5555
UserSpecList ::=
5656
UserSpec ( ',' UserSpec )*
57-
58-
RequireClauseOpt ::= ('REQUIRE' ('NONE' | 'SSL' | 'X509' | RequireListElement ('AND'? RequireListElement)*))?
59-
60-
RequireListElement ::= 'ISSUER' Issuer | 'SUBJECT' Subject | 'CIPHER' Cipher | 'SAN' SAN | 'TOKEN_ISSUER' TokenIssuer
6157
```
6258

6359
## Examples

0 commit comments

Comments
 (0)
Failed to load comments.