Correctly tokenize nested comments (#1629)

This commit is contained in:
Hans Ott 2025-01-05 15:37:34 +01:00 committed by GitHub
parent 94ea20628f
commit 8bc63f0e4a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 109 additions and 18 deletions

View file

@ -241,6 +241,10 @@ impl Dialect for PostgreSqlDialect {
fn supports_empty_projections(&self) -> bool {
true
}
fn supports_nested_comments(&self) -> bool {
true
}
}
pub fn parse_create(parser: &mut Parser) -> Option<Result<Statement, ParserError>> {