Add support of table function WITH ORDINALITY modifier for Postgre Parser (#1337)

This commit is contained in:
hulk 2024-07-10 05:43:22 +08:00 committed by GitHub
parent 285f492589
commit 9108bffc9a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 129 additions and 4 deletions

View file

@ -48,6 +48,7 @@ fn test_square_brackets_over_db_schema_table_name() {
with_hints: vec![],
version: None,
partitions: vec![],
with_ordinality: false,
},
joins: vec![],
}
@ -94,6 +95,7 @@ fn test_double_quotes_over_db_schema_table_name() {
with_hints: vec![],
version: None,
partitions: vec![],
with_ordinality: false,
},
joins: vec![],
}
@ -114,6 +116,7 @@ fn parse_delimited_identifiers() {
args,
with_hints,
version,
with_ordinality: _,
partitions: _,
} => {
assert_eq!(vec![Ident::with_quote('"', "a table")], name.0);