wugeer commented on code in PR #1485:
URL: 
https://github.com/apache/datafusion-sqlparser-rs/pull/1485#discussion_r1824489498


##########
src/parser/mod.rs:
##########
@@ -532,6 +532,14 @@ impl<'a> Parser<'a> {
                 Keyword::EXECUTE => self.parse_execute(),
                 Keyword::PREPARE => self.parse_prepare(),
                 Keyword::MERGE => self.parse_merge(),
+                // `LISTEN` and `NOTIFY` are Postgres-specific
+                // syntaxes. They are used for Postgres statement.
+                Keyword::LISTEN if dialect_of!(self is PostgreSqlDialect | 
GenericDialect) => {
+                    self.parse_listen()
+                }
+                Keyword::NOTIFY if dialect_of!(self is PostgreSqlDialect | 
GenericDialect) => {
+                    self.parse_notify()
+                }

Review Comment:
   Good idea! Have Done!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to