We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
array_agg
pg_catalog.
1 parent 459548f commit a80454aCopy full SHA for a80454a
src/parser.rs
@@ -496,7 +496,17 @@ impl<'a> Parser<'a> {
496
}
497
498
499
- if self.consume_token(&Token::LParen) {
+ #[cfg(feature = "std")]
500
+ let is_array_agg = dialect_of!(self is PostgreSqlDialect | GenericDialect)
501
+ && id_parts.len() == 2
502
+ && id_parts[0].value.eq_ignore_ascii_case("pg_catalog")
503
+ && id_parts[1].value.eq_ignore_ascii_case("array_agg");
504
+ #[cfg(not(feature = "std"))]
505
+ let is_array_agg = false;
506
+
507
+ if is_array_agg {
508
+ self.parse_array_agg_expr()
509
+ } else if self.consume_token(&Token::LParen) {
510
self.prev_token();
511
self.parse_function(ObjectName(id_parts))
512
} else {
0 commit comments