This is an automated email from the ASF dual-hosted git repository.

duanzhengqiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new aaa6f8777b0 Add a keyword in PostgreSQL Declare Statement (#20744)
aaa6f8777b0 is described below

commit aaa6f8777b0080ed3d853e33b8c725af54fb304a
Author: Thanoshan MV <[email protected]>
AuthorDate: Sat Sep 3 05:31:11 2022 +0530

    Add a keyword in PostgreSQL Declare Statement (#20744)
---
 .../src/main/antlr4/imports/postgresql/DDLStatement.g4                | 1 +
 .../src/main/antlr4/imports/postgresql/PostgreSQLKeyword.g4           | 4 ++++
 2 files changed, 5 insertions(+)

diff --git 
a/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/src/main/antlr4/imports/postgresql/DDLStatement.g4
 
b/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/src/main/antlr4/imports/postgresql/DDLStatement.g4
index 22e8c5edd29..4aa5a14a15a 100644
--- 
a/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/src/main/antlr4/imports/postgresql/DDLStatement.g4
+++ 
b/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/src/main/antlr4/imports/postgresql/DDLStatement.g4
@@ -1777,6 +1777,7 @@ cursorOption
     : NO SCROLL
     | SCROLL
     | BINARY
+    | ASENSITIVE
     | INSENSITIVE
     ;
 
diff --git 
a/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/src/main/antlr4/imports/postgresql/PostgreSQLKeyword.g4
 
b/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/src/main/antlr4/imports/postgresql/PostgreSQLKeyword.g4
index da9d97b9af8..944341481db 100644
--- 
a/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/src/main/antlr4/imports/postgresql/PostgreSQLKeyword.g4
+++ 
b/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/src/main/antlr4/imports/postgresql/PostgreSQLKeyword.g4
@@ -1456,3 +1456,7 @@ BYPASSRLS
 NOBYPASSRLS
     : N O B Y P A S S R L S
     ;
+
+ASENSITIVE
+    : A S E N S I T I V E
+    ;

Reply via email to