未验证 提交 eb66cb75 编写于 作者: M ma-xiao-guang-64 提交者: GitHub

add storageParametersWithParen rule

add storageParametersWithParen rule
上级 71b1bed5
......@@ -2,9 +2,9 @@ grammar PostgreDDL;
import PostgreKeyword, DataType, Keyword,BaseRule,Symbol;
createIndex:
CREATE UNIQUE? INDEX CONCURRENTLY? ((IF NOT EXISTS)? indexName)? ON tableName indexType?
keyParts
withStorageParameters?
CREATE UNIQUE? INDEX CONCURRENTLY? ((IF NOT EXISTS)? indexName)? ON tableName indexType?
keyParts
withStorageParameters?
tableSpaceClause?
whereClause?
;
......@@ -36,6 +36,8 @@ simpleExpr:
| liter
| ID
;
alterIndexName:
ALTER INDEX (IF EXISTS)? indexName
......@@ -50,11 +52,15 @@ setTableSpace:
;
setStorageParameter:
SET LEFT_PAREN storageParameters RIGHT_PAREN
SET storageParametersWithParen
;
resetStorageParameter:
RESET LEFT_PAREN storageParameters RIGHT_PAREN
RESET storageParametersWithParen
;
storageParametersWithParen:
LEFT_PAREN storageParameters RIGHT_PAREN
;
alterIndexDependsOnExtension:
......@@ -385,7 +391,7 @@ constraintClause:
;
withStorageParameters:
WITH LEFT_PAREN storageParameters RIGHT_PAREN
WITH storageParametersWithParen
;
storageParameters:
......@@ -611,4 +617,4 @@ arrayConstructorWithCast:
arrayConstructor:
| ARRAY LEFT_BRACKET exprs RIGHT_BRACKET
| ARRAY LEFT_BRACKET arrayConstructor (COMMA arrayConstructor)* RIGHT_BRACKET
;
\ No newline at end of file
;
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册