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


##########
src/dialect/postgresql.rs:
##########
@@ -209,6 +214,11 @@ impl Dialect for PostgreSqlDialect {
     fn supports_comment_on(&self) -> bool {
         true
     }
+
+    /// See <https://www.postgresql.org/docs/current/sql-load.html>
+    fn supports_load_extension(&self) -> bool {
+        true
+    }

Review Comment:
   As I understand it, this change simply adds support for the `LOAD  
extension` statement to the `PostgreSQL` dialect, while the  `DuckDB` and 
`Generic` dialects both already support it. Therefore, no changes are needed to 
the parser. In my local environment, this modification is sufficient. If my 
understanding is incorrect, please feel free to correct me. :)



-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to