mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improve postgres parser support, fix #3858
This commit is contained in:
@@ -128,6 +128,11 @@ public class PGExprParser extends SQLExprParser {
|
||||
break;
|
||||
}
|
||||
return values;
|
||||
} else if (lexer.token() == Token.WITH) {
|
||||
SQLQueryExpr queryExpr = new SQLQueryExpr(
|
||||
createSelectParser()
|
||||
.select());
|
||||
return queryExpr;
|
||||
}
|
||||
|
||||
return super.primary();
|
||||
|
||||
Reference in New Issue
Block a user