feat: support explain options (#1426)

This commit is contained in:
Siyuan Huang 2024-09-19 23:28:02 +08:00 committed by GitHub
parent 1c505ce736
commit 04a53e5753
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 269 additions and 8 deletions

View file

@ -166,6 +166,11 @@ impl Dialect for PostgreSqlDialect {
fn supports_create_index_with_clause(&self) -> bool {
true
}
/// see <https://www.postgresql.org/docs/current/sql-explain.html>
fn supports_explain_with_utility_options(&self) -> bool {
true
}
}
pub fn parse_comment(parser: &mut Parser) -> Result<Statement, ParserError> {