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

tuichenchuxin 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 fe80357  dev-15744-support parsing postgreSQL drop event trigger 
(#16485)
fe80357 is described below

commit fe8035719d2eaa8214a2a0148f2adb6736b69982
Author: Ismail Alammar <[email protected]>
AuthorDate: Wed Mar 30 13:51:18 2022 +0800

    dev-15744-support parsing postgreSQL drop event trigger (#16485)
    
    * add drop event trigger to ddl statement file
    
    * add drop event trigger to pstgre sql paraser file
    
    * drop event trigger parser configuration
    
    * avoid using * in import and remove unused imports
    
    * add test cases for event trigger parser
    
    * bug fix use correct test case class
    
    * remove unsupport cases for drop event trigger
    
    Co-authored-by: Ismail Alammar <[email protected]>
---
 .../parser/autogen/PostgreSQLStatementParser.g4    |  1 +
 .../impl/PostgreSQLDDLStatementSQLVisitor.java     |  7 ++++++
 .../core/database/visitor/SQLVisitorRule.java      |  2 ++
 .../statement/ddl/DropEventTriggerStatement.java   | 28 +++++++++++++++++++++
 .../ddl/PostgreSQLDropEventTriggerStatement.java   | 29 ++++++++++++++++++++++
 .../jaxb/cases/domain/SQLParserTestCases.java      |  5 ++++
 .../ddl/DropEventTriggerStatementTestCase.java     | 26 +++++++++++++++++++
 .../main/resources/case/ddl/drop-event-trigger.xml | 22 ++++++++++++++++
 .../sql/supported/ddl/drop-event-trigger.xml       | 22 ++++++++++++++++
 .../main/resources/sql/unsupported/unsupported.xml | 15 -----------
 10 files changed, 142 insertions(+), 15 deletions(-)

diff --git 
a/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/src/main/antlr4/org/apache/shardingsphere/sql/parser/autogen/PostgreSQLStatementParser.g4
 
b/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/src/main/antlr4/org/apache/shardingsphere/sql/parser/autogen/PostgreSQLStatementParser.g4
index 93ecdb1..700fd51 100644
--- 
a/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/src/main/antlr4/org/apache/shardingsphere/sql/parser/autogen/PostgreSQLStatementParser.g4
+++ 
b/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/src/main/antlr4/org/apache/shardingsphere/sql/parser/autogen/PostgreSQLStatementParser.g4
@@ -123,5 +123,6 @@ execute
     | dropOperator
     | dropMaterializedView
     | dropGroup
+    | dropEventTrigger
     ) SEMI_?
     ;
diff --git 
a/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/src/main/java/org/apache/shardingsphere/sql/parser/postgresql/visitor/statement/impl/PostgreSQLDDLStatementSQLVisitor.java
 
b/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/src/main/java/org/apache/shardingsphere/sql/parser/postgresql/visitor/statement/impl/PostgreSQLDDLStatementSQLVisitor.java
index 151bcad..8707afa 100644
--- 
a/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/src/main/java/org/apache/shardingsphere/sql/parser/postgresql/visitor/statement/impl/PostgreSQLDDLStatementSQLVisitor.java
+++ 
b/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/src/main/java/org/apache/shardingsphere/sql/parser/postgresql/visitor/statement/impl/PostgreSQLDDLStatementSQLVisitor.java
@@ -73,6 +73,7 @@ import 
org.apache.shardingsphere.sql.parser.autogen.PostgreSQLStatementParser.Dr
 import 
org.apache.shardingsphere.sql.parser.autogen.PostgreSQLStatementParser.DropForeignTableContext;
 import 
org.apache.shardingsphere.sql.parser.autogen.PostgreSQLStatementParser.DropFunctionContext;
 import 
org.apache.shardingsphere.sql.parser.autogen.PostgreSQLStatementParser.DropGroupContext;
+import 
org.apache.shardingsphere.sql.parser.autogen.PostgreSQLStatementParser.DropEventTriggerContext;
 import 
org.apache.shardingsphere.sql.parser.autogen.PostgreSQLStatementParser.DropIndexContext;
 import 
org.apache.shardingsphere.sql.parser.autogen.PostgreSQLStatementParser.DropLanguageContext;
 import 
org.apache.shardingsphere.sql.parser.autogen.PostgreSQLStatementParser.DropProcedureContext;
@@ -188,6 +189,7 @@ import 
org.apache.shardingsphere.sql.parser.sql.dialect.statement.postgresql.ddl
 import 
org.apache.shardingsphere.sql.parser.sql.dialect.statement.postgresql.ddl.PostgreSQLDropOwnedStatement;
 import 
org.apache.shardingsphere.sql.parser.sql.dialect.statement.postgresql.ddl.PostgreSQLDropOperatorStatement;
 import 
org.apache.shardingsphere.sql.parser.sql.dialect.statement.postgresql.ddl.PostgreSQLDropMaterializedViewStatement;
+import 
org.apache.shardingsphere.sql.parser.sql.dialect.statement.postgresql.ddl.PostgreSQLDropEventTriggerStatement;
 
 import java.util.Collection;
 import java.util.Collections;
@@ -792,4 +794,9 @@ public final class PostgreSQLDDLStatementSQLVisitor extends 
PostgreSQLStatementS
     public ASTNode visitDropMaterializedView(final DropMaterializedViewContext 
ctx) {
         return new PostgreSQLDropMaterializedViewStatement();
     }
+
+    @Override
+    public ASTNode visitDropEventTrigger(final DropEventTriggerContext ctx) {
+        return new PostgreSQLDropEventTriggerStatement();
+    }
 }
diff --git 
a/shardingsphere-sql-parser/shardingsphere-sql-parser-engine/src/main/java/org/apache/shardingsphere/sql/parser/core/database/visitor/SQLVisitorRule.java
 
b/shardingsphere-sql-parser/shardingsphere-sql-parser-engine/src/main/java/org/apache/shardingsphere/sql/parser/core/database/visitor/SQLVisitorRule.java
index 097d220..7ca5447 100644
--- 
a/shardingsphere-sql-parser/shardingsphere-sql-parser-engine/src/main/java/org/apache/shardingsphere/sql/parser/core/database/visitor/SQLVisitorRule.java
+++ 
b/shardingsphere-sql-parser/shardingsphere-sql-parser-engine/src/main/java/org/apache/shardingsphere/sql/parser/core/database/visitor/SQLVisitorRule.java
@@ -137,6 +137,8 @@ public enum SQLVisitorRule {
     ALTER_TRIGGER("AlterTrigger", SQLStatementType.DDL),
     
     DROP_TRIGGER("DropTrigger", SQLStatementType.DDL),
+
+    DROP_EVENT_TRIGGER("DropEventTrigger", SQLStatementType.DDL),
     
     CREATE_VIEW("CreateView", SQLStatementType.DDL),
     
diff --git 
a/shardingsphere-sql-parser/shardingsphere-sql-parser-statement/src/main/java/org/apache/shardingsphere/sql/parser/sql/common/statement/ddl/DropEventTriggerStatement.java
 
b/shardingsphere-sql-parser/shardingsphere-sql-parser-statement/src/main/java/org/apache/shardingsphere/sql/parser/sql/common/statement/ddl/DropEventTriggerStatement.java
new file mode 100644
index 0000000..3f5c733
--- /dev/null
+++ 
b/shardingsphere-sql-parser/shardingsphere-sql-parser-statement/src/main/java/org/apache/shardingsphere/sql/parser/sql/common/statement/ddl/DropEventTriggerStatement.java
@@ -0,0 +1,28 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.shardingsphere.sql.parser.sql.common.statement.ddl;
+
+import lombok.ToString;
+import 
org.apache.shardingsphere.sql.parser.sql.common.statement.AbstractSQLStatement;
+
+/**
+ * Drop Event Trigger statement.
+ */
+@ToString
+public abstract class DropEventTriggerStatement extends AbstractSQLStatement 
implements DDLStatement {
+}
diff --git 
a/shardingsphere-sql-parser/shardingsphere-sql-parser-statement/src/main/java/org/apache/shardingsphere/sql/parser/sql/dialect/statement/postgresql/ddl/PostgreSQLDropEventTriggerStatement.java
 
b/shardingsphere-sql-parser/shardingsphere-sql-parser-statement/src/main/java/org/apache/shardingsphere/sql/parser/sql/dialect/statement/postgresql/ddl/PostgreSQLDropEventTriggerStatement.java
new file mode 100644
index 0000000..dee9698
--- /dev/null
+++ 
b/shardingsphere-sql-parser/shardingsphere-sql-parser-statement/src/main/java/org/apache/shardingsphere/sql/parser/sql/dialect/statement/postgresql/ddl/PostgreSQLDropEventTriggerStatement.java
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package 
org.apache.shardingsphere.sql.parser.sql.dialect.statement.postgresql.ddl;
+
+import lombok.ToString;
+import 
org.apache.shardingsphere.sql.parser.sql.common.statement.ddl.DropEventTriggerStatement;
+import 
org.apache.shardingsphere.sql.parser.sql.dialect.statement.postgresql.PostgreSQLStatement;
+
+/**
+ * PostgreSQL drop Event Trigger statement.
+ */
+@ToString
+public final class PostgreSQLDropEventTriggerStatement extends 
DropEventTriggerStatement implements PostgreSQLStatement {
+}
diff --git 
a/shardingsphere-test/shardingsphere-parser-test/src/main/java/org/apache/shardingsphere/test/sql/parser/parameterized/jaxb/cases/domain/SQLParserTestCases.java
 
b/shardingsphere-test/shardingsphere-parser-test/src/main/java/org/apache/shardingsphere/test/sql/parser/parameterized/jaxb/cases/domain/SQLParserTestCases.java
index 43f83fd..5e01596 100644
--- 
a/shardingsphere-test/shardingsphere-parser-test/src/main/java/org/apache/shardingsphere/test/sql/parser/parameterized/jaxb/cases/domain/SQLParserTestCases.java
+++ 
b/shardingsphere-test/shardingsphere-parser-test/src/main/java/org/apache/shardingsphere/test/sql/parser/parameterized/jaxb/cases/domain/SQLParserTestCases.java
@@ -161,6 +161,7 @@ import 
org.apache.shardingsphere.test.sql.parser.parameterized.jaxb.cases.domain
 import 
org.apache.shardingsphere.test.sql.parser.parameterized.jaxb.cases.domain.statement.ddl.DropServiceStatementTestCase;
 import 
org.apache.shardingsphere.test.sql.parser.parameterized.jaxb.cases.domain.statement.ddl.DropTableStatementTestCase;
 import 
org.apache.shardingsphere.test.sql.parser.parameterized.jaxb.cases.domain.statement.ddl.DropTriggerStatementTestCase;
+import 
org.apache.shardingsphere.test.sql.parser.parameterized.jaxb.cases.domain.statement.ddl.DropEventTriggerStatementTestCase;
 import 
org.apache.shardingsphere.test.sql.parser.parameterized.jaxb.cases.domain.statement.ddl.DropViewStatementTestCase;
 import 
org.apache.shardingsphere.test.sql.parser.parameterized.jaxb.cases.domain.statement.ddl.FlashbackDatabaseStatementTestCase;
 import 
org.apache.shardingsphere.test.sql.parser.parameterized.jaxb.cases.domain.statement.ddl.FlashbackTableStatementTestCase;
@@ -597,6 +598,9 @@ public final class SQLParserTestCases {
     
     @XmlElement(name = "drop-trigger")
     private final List<DropTriggerStatementTestCase> dropTriggerTestCase = new 
LinkedList<>();
+
+    @XmlElement(name = "drop-event-trigger")
+    private final List<DropEventTriggerStatementTestCase> 
dropEventTriggerTestCase = new LinkedList<>();
     
     @XmlElement(name = "drop-domain")
     private final List<DropDomainStatementTestCase> 
dropDomainStatementTestCases = new LinkedList<>();
@@ -1284,6 +1288,7 @@ public final class SQLParserTestCases {
         putAll(dropDimensionTestCase, result);
         putAll(dropViewTestCase, result);
         putAll(dropTriggerTestCase, result);
+        putAll(dropEventTriggerTestCase, result);
         putAll(showTriggerTestCase, result);
         putAll(dropServerTestCase, result);
         putAll(dropPolicyTestCase, result);
diff --git 
a/shardingsphere-test/shardingsphere-parser-test/src/main/java/org/apache/shardingsphere/test/sql/parser/parameterized/jaxb/cases/domain/statement/ddl/DropEventTriggerStatementTestCase.java
 
b/shardingsphere-test/shardingsphere-parser-test/src/main/java/org/apache/shardingsphere/test/sql/parser/parameterized/jaxb/cases/domain/statement/ddl/DropEventTriggerStatementTestCase.java
new file mode 100644
index 0000000..3d75443
--- /dev/null
+++ 
b/shardingsphere-test/shardingsphere-parser-test/src/main/java/org/apache/shardingsphere/test/sql/parser/parameterized/jaxb/cases/domain/statement/ddl/DropEventTriggerStatementTestCase.java
@@ -0,0 +1,26 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package 
org.apache.shardingsphere.test.sql.parser.parameterized.jaxb.cases.domain.statement.ddl;
+
+import 
org.apache.shardingsphere.test.sql.parser.parameterized.jaxb.cases.domain.statement.SQLParserTestCase;
+
+/**
+ * Drop Event Trigger test case.
+ */
+public class DropEventTriggerStatementTestCase extends SQLParserTestCase {
+}
diff --git 
a/shardingsphere-test/shardingsphere-parser-test/src/main/resources/case/ddl/drop-event-trigger.xml
 
b/shardingsphere-test/shardingsphere-parser-test/src/main/resources/case/ddl/drop-event-trigger.xml
new file mode 100644
index 0000000..993894a
--- /dev/null
+++ 
b/shardingsphere-test/shardingsphere-parser-test/src/main/resources/case/ddl/drop-event-trigger.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<sql-parser-test-cases>
+    <drop-policy sql-case-id="drop_event_trigger_if_exists" />
+    <drop-policy sql-case-id="drop_event_trigger"/>
+</sql-parser-test-cases>
\ No newline at end of file
diff --git 
a/shardingsphere-test/shardingsphere-parser-test/src/main/resources/sql/supported/ddl/drop-event-trigger.xml
 
b/shardingsphere-test/shardingsphere-parser-test/src/main/resources/sql/supported/ddl/drop-event-trigger.xml
new file mode 100644
index 0000000..9391f03
--- /dev/null
+++ 
b/shardingsphere-test/shardingsphere-parser-test/src/main/resources/sql/supported/ddl/drop-event-trigger.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<sql-cases>
+    <sql-case id="drop_event_trigger_if_exists" value="DROP EVENT TRIGGER IF 
EXISTS regress_test_g1, regress_test_g2;" db-types="PostgreSQL"/>
+    <sql-case id="drop_event_trigger" value="DROP EVENT TRIGGER 
regress_dep_group;" db-types="PostgreSQL"/>
+</sql-cases>
\ No newline at end of file
diff --git 
a/shardingsphere-test/shardingsphere-parser-test/src/main/resources/sql/unsupported/unsupported.xml
 
b/shardingsphere-test/shardingsphere-parser-test/src/main/resources/sql/unsupported/unsupported.xml
index a75090c..91e26c0 100644
--- 
a/shardingsphere-test/shardingsphere-parser-test/src/main/resources/sql/unsupported/unsupported.xml
+++ 
b/shardingsphere-test/shardingsphere-parser-test/src/main/resources/sql/unsupported/unsupported.xml
@@ -5814,14 +5814,6 @@
     <sql-case id="drop_by_postgresql_source_test_case28" value="DROP COLLATION 
test0 RESTRICT;" db-types="PostgreSQL"/>
     <sql-case id="drop_by_postgresql_source_test_case29" value="DROP COLLATION 
test0, test_schema.test11, test5;" db-types="PostgreSQL"/>
     <sql-case id="drop_by_postgresql_source_test_case30" value="DROP COLLATION 
test0;" db-types="PostgreSQL"/>
-    <sql-case id="drop_by_postgresql_source_test_case31" value="DROP EVENT 
TRIGGER end_rls_command;" db-types="PostgreSQL"/>
-    <sql-case id="drop_by_postgresql_source_test_case32" value="DROP EVENT 
TRIGGER has_volatile_rewrite;" db-types="PostgreSQL"/>
-    <sql-case id="drop_by_postgresql_source_test_case33" value="DROP EVENT 
TRIGGER regress_event_trigger_drop_objects;" db-types="PostgreSQL"/>
-    <sql-case id="drop_by_postgresql_source_test_case34" value="DROP EVENT 
TRIGGER regress_event_trigger_report_dropped;" db-types="PostgreSQL"/>
-    <sql-case id="drop_by_postgresql_source_test_case35" value="DROP EVENT 
TRIGGER regress_event_trigger_report_end;" db-types="PostgreSQL"/>
-    <sql-case id="drop_by_postgresql_source_test_case36" value="DROP EVENT 
TRIGGER sql_drop_command;" db-types="PostgreSQL"/>
-    <sql-case id="drop_by_postgresql_source_test_case37" value="DROP EVENT 
TRIGGER start_rls_command;" db-types="PostgreSQL"/>
-    <sql-case id="drop_by_postgresql_source_test_case38" value="DROP EVENT 
TRIGGER undroppable;" db-types="PostgreSQL"/>
     <sql-case id="drop_by_postgresql_source_test_case41" value="DROP FOREIGN 
DATA WRAPPER IF EXISTS nonexistent;" db-types="PostgreSQL"/>
     <sql-case id="drop_by_postgresql_source_test_case42" value="DROP FOREIGN 
DATA WRAPPER IF EXISTS test_fdw_exists;" db-types="PostgreSQL"/>
     <sql-case id="drop_by_postgresql_source_test_case43" value="DROP FOREIGN 
DATA WRAPPER addr_fdw CASCADE;" db-types="PostgreSQL"/>
@@ -8510,7 +8502,6 @@
     <sql-case id="low_create_by_postgresql_source_test_case51" value="create 
event trigger regress_event_trigger2 on ddl_command_start    when tag in 
(&apos;CREATE DATABASE&apos;)    execute procedure test_event_trigger();" 
db-types="PostgreSQL"/>
     <sql-case id="low_create_by_postgresql_source_test_case52" value="create 
event trigger regress_event_trigger2 on ddl_command_start    when tag in 
(&apos;CREATE ROLE&apos;)    execute procedure test_event_trigger();" 
db-types="PostgreSQL"/>
     <sql-case id="low_create_by_postgresql_source_test_case53" value="create 
event trigger regress_event_trigger2 on ddl_command_start    when tag in 
(&apos;CREATE TABLESPACE&apos;)    execute procedure test_event_trigger();" 
db-types="PostgreSQL"/>
-    <sql-case id="low_create_by_postgresql_source_test_case54" value="create 
event trigger regress_event_trigger2 on ddl_command_start    when tag in 
(&apos;DROP EVENT TRIGGER&apos;)    execute procedure test_event_trigger();" 
db-types="PostgreSQL"/>
     <sql-case id="low_create_by_postgresql_source_test_case55" value="create 
event trigger regress_event_trigger2 on ddl_command_start    when tag in 
(&apos;create table&apos;) and tag in (&apos;CREATE FUNCTION&apos;)    execute 
procedure test_event_trigger();" db-types="PostgreSQL"/>
     <sql-case id="low_create_by_postgresql_source_test_case56" value="create 
event trigger regress_event_trigger2 on ddl_command_start    when tag in 
(&apos;create table&apos;, &apos;CREATE FUNCTION&apos;)    execute procedure 
test_event_trigger();" db-types="PostgreSQL"/>
     <sql-case id="low_create_by_postgresql_source_test_case57" value="create 
event trigger regress_event_trigger2 on ddl_command_start    when tag in 
(&apos;create table&apos;, &apos;create skunkcabbage&apos;)    execute 
procedure test_event_trigger();" db-types="PostgreSQL"/>
@@ -9056,12 +9047,6 @@
     <sql-case id="low_drop_by_postgresql_source_test_case4" value="drop 
aggregate newcnt1;" db-types="PostgreSQL"/>
     <sql-case id="low_drop_by_postgresql_source_test_case5" value="drop 
aggregate nonesuch (int4);" db-types="PostgreSQL"/>
     <sql-case id="low_drop_by_postgresql_source_test_case6" value="drop 
aggregate;" db-types="PostgreSQL"/>
-    <sql-case id="low_drop_by_postgresql_source_test_case7" value="drop event 
trigger if exists regress_event_trigger2;" db-types="PostgreSQL"/>
-    <sql-case id="low_drop_by_postgresql_source_test_case8" value="drop event 
trigger if exists regress_event_trigger2;" db-types="PostgreSQL"/>
-    <sql-case id="low_drop_by_postgresql_source_test_case9" value="drop event 
trigger no_rewrite_allowed;" db-types="PostgreSQL"/>
-    <sql-case id="low_drop_by_postgresql_source_test_case10" value="drop event 
trigger regress_event_trigger3;" db-types="PostgreSQL"/>
-    <sql-case id="low_drop_by_postgresql_source_test_case11" value="drop event 
trigger regress_event_trigger;" db-types="PostgreSQL"/>
-    <sql-case id="low_drop_by_postgresql_source_test_case12" value="drop event 
trigger regress_event_trigger_end;" db-types="PostgreSQL"/>
     <sql-case id="low_drop_by_postgresql_source_test_case13" value="drop 
function ();" db-types="PostgreSQL"/>
     <sql-case id="low_drop_by_postgresql_source_test_case14" value="drop 
function 314159();" db-types="PostgreSQL"/>
     <sql-case id="low_drop_by_postgresql_source_test_case15" value="drop index 
314159;" db-types="PostgreSQL"/>

Reply via email to