This repository has been archived by the owner on Nov 30, 2021. It is now read-only.
forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
43099: docs: fix diagrams for 'table_name @ index_name' syntax r=rafiss a=rafiss Previously, some of the syntax diagrams would indicate that table_name was required, and index_name was optional. However, the opposite is true. part of cockroachdb/docs#5948 Release note: None Co-authored-by: Rafi Shamim <[email protected]>
- Loading branch information
Showing
6 changed files
with
25 additions
and
24 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
alter_rename_index_stmt ::= | ||
'ALTER' 'INDEX' table_name '@' index_name 'RENAME' 'TO' index_name | ||
| 'ALTER' 'INDEX' standalone_index_name 'RENAME' 'TO' index_name | ||
| 'ALTER' 'INDEX' index_name 'RENAME' 'TO' index_name | ||
| 'ALTER' 'INDEX' 'IF' 'EXISTS' table_name '@' index_name 'RENAME' 'TO' index_name | ||
| 'ALTER' 'INDEX' 'IF' 'EXISTS' standalone_index_name 'RENAME' 'TO' index_name | ||
| 'ALTER' 'INDEX' 'IF' 'EXISTS' index_name 'RENAME' 'TO' index_name |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
alter_split_index_stmt ::= | ||
'ALTER' 'INDEX' table_name '@' index_name 'SPLIT' 'AT' select_stmt | ||
| 'ALTER' 'INDEX' standalone_index_name 'SPLIT' 'AT' select_stmt | ||
| 'ALTER' 'INDEX' index_name 'SPLIT' 'AT' select_stmt | ||
| 'ALTER' 'INDEX' table_name '@' index_name 'SPLIT' 'AT' select_stmt 'WITH' 'EXPIRATION' a_expr | ||
| 'ALTER' 'INDEX' standalone_index_name 'SPLIT' 'AT' select_stmt 'WITH' 'EXPIRATION' a_expr | ||
| 'ALTER' 'INDEX' index_name 'SPLIT' 'AT' select_stmt 'WITH' 'EXPIRATION' a_expr |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
alter_unsplit_index_stmt ::= | ||
'ALTER' 'INDEX' table_name '@' index_name 'UNSPLIT' 'AT' select_stmt | ||
| 'ALTER' 'INDEX' standalone_index_name 'UNSPLIT' 'AT' select_stmt | ||
| 'ALTER' 'INDEX' index_name 'UNSPLIT' 'AT' select_stmt | ||
| 'ALTER' 'INDEX' table_name '@' index_name 'UNSPLIT' 'ALL' | ||
| 'ALTER' 'INDEX' standalone_index_name 'UNSPLIT' 'ALL' | ||
| 'ALTER' 'INDEX' index_name 'UNSPLIT' 'ALL' |
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